EmbLogic's Blog

C assignment no. 6

RCS file: 1.c,v
Working file: 1.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
do practice of while,for loop
—————————-
revision 1.1 locked by: root;
date: 2014/10/29 02:35:55; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: 2.c,v
Working file: 2.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
understand the use of continue,putchar() and break function in the switch cases
—————————-
revision 1.1 locked by: root;
date: 2014/10/29 03:01:02; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: 3.c,v
Working file: 3.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
understant the difference b/w c<0 and c<'0'
a,b,c,d….A,B,C…..and 0,1,2,3,….are less than '0' i.e c0 since 0 represent the ascii value but ’0′ represent the character
—————————-
revision 1.1 locked by: root;
date: 2014/10/29 15:53:25; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: 4.c,v
Working file: 4.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
observe that by looping f=f+0.1f 10 times then the if condition f==1.0f is not true
what is the significance of 0.0f???
—————————-
revision 1.1 locked by: root;
date: 2014/10/29 16:25:24; author: root; state: Exp;
Initial revision
=============================================================================
rlog: RCS/5.c,v: No such file or directory

RCS file: 6.c,v
Working file: 6.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
implement the logic to generate the fibonacci series for n term entered by user
—————————-
revision 1.1 locked by: root;
date: 2014/10/29 16:38:17; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: 7.c,v
Working file: 7.c
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
implement the logic to count number of sets bits in a number.
—————————-
revision 1.1
date: 2014/10/29 16:45:55; author: root; state: Exp;
Initial revision
=============================================================================
rlog: RCS/8.c,v: No such file or directory

RCS file: 9.c,v
Working file: 9.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
implement the logic to convert minutes in the form of hour and minutes
—————————-
revision 1.1 locked by: root;
date: 2014/10/29 16:58:56; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: 10.c,v
Working file: 10.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
implement the logic to find the number whether it is odd or even
count the total odd and even numbers
find out the averages of odd numbers and even numbers
—————————-
revision 1.1 locked by: root;
date: 2014/10/29 17:12:27; author: root; state: Exp;
Initial revision
=============================================================================
[root@VIPIN c_assignment6]#

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>