Tuesday, April 26, 2016

C programming Language Code Examples-loops3(13)

Smiley face

Code:for Loop

Smiley face Smiley face

Output:

Smiley face Smiley face

Code:while Loop

Smiley face Smiley face

Output:

Smiley face Smiley face

Code:dowhile Loop

Smiley face Smiley face

Output:

Smiley face Smiley face

Note

dowhile loop first print then check the condition at 1st time

No comments:

Post a Comment

Wel Come !!! computer express