| Previous | Home | Next |
#include <stdio.h>
#include <conio.h>
int main ()
{
clrscr();
for (int i = 0; i<100; i++)
{
printf ("\n %d", i);
if (i == 10); // This code prints value only upto 10.
break;
}
return 0;
}
1
2
3
4
5
6
7
8
9
10
| Previous | Home | Next |