Wednesday, April 28, 2010

Programming in C lecture 6 (Book)

Loops (in C)


Loops are use for any kind of repetition in the
program till the condition is true and the keyword used for loop is "while".


Structure of while () (in C)


B/w main’s braces type


                   while (your logical
expression here)


                   {


                         Statement which you want to repeat till
the condition is true :





                         }

No comments:

Post a Comment