As we know, looping is a sequence of
instructions that is continually repeated until a certain condition is reached.
We can use looping in C language by for, while, and do-while.
Example 1 (use "for" function) :
Example 2 (use "while" function) :
Example 3 (use "do-while" function):
No comments:
Post a Comment