User-submitted CPP Projects

26
1715 reads

February 19, 2013

Floating point control in a for loop


This example demonstrates floating point control in a for loop.

26
1946 reads

February 19, 2013

Using a for loop


This example demonstrates the use of for loop.

27
1851 reads

February 19, 2013

Using a do-while loop to control input


This example demonstrates the use of a do-while loop.

57
2390 reads

February 19, 2013

Using a while loop to sum integers


This example demonstrates the use of while loop.

26
1734 reads

February 17, 2013

Jump Statements


The jump statements unconditionally transfer program control within a function. C++ has four statements that perform an unconditionally branch : return, goto, break, and continue.

34
1652 reads

February 17, 2013

Iteration Statements


The iteration statements allow a set of instructions to be performed repeatedly until a certain condition is fulfilled. The iteration statements are also called loops or looping statements.

347
2924 reads

February 17, 2013

Selection Statements


The operational flow of control of a program is altered depending upon a condition, by using selection statements. They are namely, if-statement, if-else-if ladder, ?

22
706 reads
bluecreep's picture

Submitted by

bluecreep
Tags:

33
825 reads
DiamondOfNumbers(1.0)
This program generates a diamond of numbers using using few for loops but they are very easy to understand for beginners. Must see this.

Enhancement Trail:  

DiamondOfNumbers(1.0)    DiamondOfNumbers





Run It Now!
74
1632 reads

February 15, 2013

Standard Operators & Assignments


THe rules for using operators are stated in the code-editor as comments. The resulting data-type is also stated.