EmbLogic's Blog

Add two distance in feet and inches and convert the sum into meter and centimeter and to display the both.

RCS file: q2.c,v
Working file: q2.c
head: 1.4
branch:
locks: strict
root: 1.4
access list:
symbolic names:
keyword substitution: kv
total revisions: 4;    selected revisions: 4
description:
in this i have created input() to enter two distance in feet and inches.
—————————-
revision 1.4    locked by: root;
date: 2015/02/20 10:56:32;  author: root;  state: Exp;  lines: +8 -4
created display() to display the sum of distance in feet and inches
then display the converted value of feet and inches to meter and centimeter
—————————-
revision 1.3
date: 2015/02/20 10:48:31;  author: root;  state: Exp;  lines: +14 -1
created convert() to convert sum of distance in feet and inches to meter and centimeter
—————————-
revision 1.2
date: 2015/02/20 10:23:45;  author: root;  state: Exp;  lines: +16 -1
created adddist() to add two distances in feets and inches.
—————————-
revision 1.1
date: 2015/02/20 09:58:12;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: func_header.h,v
Working file: func_header.h
head: 1.4
branch:
locks: strict
root: 1.4
access list:
symbolic names:
keyword substitution: kv
total revisions: 4;    selected revisions: 4
description:
declared the prototype for input()
created nested structure struct distance ,struct distmeter,struct distfeet
—————————-
revision 1.4    locked by: root;
date: 2015/02/20 10:58:39;  author: root;  state: Exp;  lines: +1 -0
declared the prototype for display()
—————————-
revision 1.3
date: 2015/02/20 10:50:04;  author: root;  state: Exp;  lines: +1 -0
declared the prototype for convert()
—————————-
revision 1.2
date: 2015/02/20 10:24:46;  author: root;  state: Exp;  lines: +1 -0
declared the prototype for adddist()
—————————-
revision 1.1
date: 2015/02/20 09:58:46;  author: root;  state: Exp;
Initial revision
=============================================================================

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>