EmbLogic's Blog

C assignment no .5

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:
understand the concept behind
if(y0)x=3;
else x=5; and
if(z=(y==0))x=5; and
if(x=y=z)x=3;
this is assignment inside the if conditions
—————————-
revision 1.1 locked by: root;
date: 2014/10/26 13:35:14; 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 concept behind
if(i && j++)
here if above condition is true then data will be manupulated otherwise not
—————————-
revision 1.1 locked by: root;
date: 2014/10/26 13:43:49; 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:
understand the concept that float a=1.1 and double b=1.1 are not equal
—————————-
revision 1.1 locked by: root;
date: 2014/10/26 13:47:44; 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:
practice of switch statement
—————————-
revision 1.1 locked by: root;
date: 2014/10/26 13:50:05; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: 5.c,v
Working file: 5.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
leaf year concept
—————————-
revision 1.2 locked by: root;
date: 2014/10/26 14:19:28; author: root; state: Exp; lines: +11 -0
implement leap year concept in a single statement
—————————-
revision 1.1
date: 2014/10/26 13:52:22; author: root; state: Exp;
Initial revision
=============================================================================

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 if else logic to determine the type of the traingle
—————————-
revision 1.1 locked by: root;
date: 2014/10/26 14:28:50; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: 7.1.c,v
Working file: 7.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:
implement the logic to determine whether a no. is a power of 2 or not using for loop and if condition having more than one statement.
—————————-
revision 1.1 locked by: root;
date: 2014/10/28 20:44:21; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: 7.2.c,v
Working file: 7.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:
implement the same concept as 7.1.c using log function by making it base of 2;
—————————-
revision 1.1 locked by: root;
date: 2014/10/28 20:56:31; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: 7.3.c,v
Working file: 7.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:
implement the same concept in a single statement using bit operation
—————————-
revision 1.1 locked by: root;
date: 2014/10/28 21:04:39; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: 8.c,v
Working file: 8.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 shoe size and foot length(inches) logic w/o using loop
—————————-
revision 1.1 locked by: root;
date: 2014/10/29 00:45:38; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: 8usingloop.c,v
Working file: 8usingloop.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 shoe size and foot length logic using loop
understand the necessity of loop in c programming
—————————-
revision 1.1 locked by: root;
date: 2014/10/29 00:47:21; author: root; state: Exp;
Initial revision
=============================================================================
rlog: RCS/9.c,v: No such file or directory

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 out the number which is special but not scary
—————————-
revision 1.1 locked by: root;
date: 2014/10/29 01:50:48; author: root; state: Exp;
Initial revision
=============================================================================
[root@VIPIN c_assignment5]# vim 9.c
[root@VIPIN c_assignment5]# ci 9.c
9.c,v > .
initial revision: 1.1
done
[root@VIPIN c_assignment5]# co -l 9.c
9.c,v –> 9.c
revision 1.1 (locked)
done
[root@VIPIN c_assignment5]# rlog 1.c 2.c 3.c 4.c 5.c 6.c 7.1.c 7.2.c 7.3.c 8.c 8usingloop.c 9.c 10.c

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:
understand the concept behind
if(y0)x=3;
else x=5; and
if(z=(y==0))x=5; and
if(x=y=z)x=3;
this is assignment inside the if conditions
—————————-
revision 1.1 locked by: root;
date: 2014/10/26 13:35:14; 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 concept behind
if(i && j++)
here if above condition is true then data will be manupulated otherwise not
—————————-
revision 1.1 locked by: root;
date: 2014/10/26 13:43:49; 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:
understand the concept that float a=1.1 and double b=1.1 are not equal
—————————-
revision 1.1 locked by: root;
date: 2014/10/26 13:47:44; 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:
practice of switch statement
—————————-
revision 1.1 locked by: root;
date: 2014/10/26 13:50:05; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: 5.c,v
Working file: 5.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
leaf year concept
—————————-
revision 1.2 locked by: root;
date: 2014/10/26 14:19:28; author: root; state: Exp; lines: +11 -0
implement leap year concept in a single statement
—————————-
revision 1.1
date: 2014/10/26 13:52:22; author: root; state: Exp;
Initial revision
=============================================================================

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 if else logic to determine the type of the traingle
—————————-
revision 1.1 locked by: root;
date: 2014/10/26 14:28:50; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: 7.1.c,v
Working file: 7.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:
implement the logic to determine whether a no. is a power of 2 or not using for loop and if condition having more than one statement.
—————————-
revision 1.1 locked by: root;
date: 2014/10/28 20:44:21; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: 7.2.c,v
Working file: 7.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:
implement the same concept as 7.1.c using log function by making it base of 2;
—————————-
revision 1.1 locked by: root;
date: 2014/10/28 20:56:31; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: 7.3.c,v
Working file: 7.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:
implement the same concept in a single statement using bit operation
—————————-
revision 1.1 locked by: root;
date: 2014/10/28 21:04:39; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: 8.c,v
Working file: 8.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 shoe size and foot length(inches) logic w/o using loop
—————————-
revision 1.1 locked by: root;
date: 2014/10/29 00:45:38; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: 8usingloop.c,v
Working file: 8usingloop.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 shoe size and foot length logic using loop
understand the necessity of loop in c programming
—————————-
revision 1.1 locked by: root;
date: 2014/10/29 00:47:21; author: root; state: Exp;
Initial revision
=============================================================================

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:
—————————-
revision 1.1 locked by: root;
date: 2014/11/22 03:47:50; 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 out the number which is special but not scary
—————————-
revision 1.1 locked by: root;
date: 2014/10/29 01:50:48; author: root; state: Exp;
Initial revision
=============================================================================
[root@VIPIN c_assignment5]#

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>