Read OnLine C- Program Example
04_LOOP CONCEPT (01_FOR LOOP) | |
---|---|
PRAC 1 | PRAC 2 |
//wap to print 1to10 number #include<stdio.h> #include<conio.h> void main() { int i; clrscr(); for (i=1;i<11;i++) { printf("%d \n",i); } getch(); } ------output------ 1 2 3 4 5 6 7 8 9 10 |
//wap to print 1to10 in revers |
Previous | Next |
Download | Download |