boost learn study
Friday, March 28, 2014
do Statement or do loop
/*Write a Program to print the 1 To 10 Numbers using do loop*/ #include< stdio.h >#include< conio.h >void main() { int i,n=10; clrscr(); do { printf("I=%d",i); i++; } while(i<=n); getch(); }
Output is as :
I=1
I=2
I=3
I=4
I=5
I=6
I=7
I=8
I=9
I=10
Read more �
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment