Wednesday, November 19, 2014

C Programming for Beginners 12 - do...while loop in C

1:37 PM













1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include <stdio.h>
#include <stdlib.h>
int main()
{
int i=0;

do
{
printf("Value of i= %d\n",i);
//i=i+1;
i++;
} while (i > 10);

printf("********************\n");

int j=0;
while (j > 10)
{
printf("Value of j= %d\n",j);
//j=i+1;
j++;
}

}




For, While and Do While Loops in C

C Programming while and do...while Loop

Do while loop

C Tutorial   for loop, while loop, break and continue

C do while loop in C programming with example

do-while loop

do-while Statement (C)

C Programming | do-while loop - C

Written by

We are one of the initiators of the development of information technology in understanding the need for a solution that is familiar and close to us.

0 comments:

Post a Comment

 

© 2013 Klick Dev. All rights resevered.

Back To Top