boost learn study
Friday, March 28, 2014
break statement
/*The following program using break statement*/ #include< stdio.h >#include< conio.h >void main() { int i=1; clrscr(); while(i<=10) { if(i==6) { break; } printf("\n I=%d",i); i++; } getch(); }
Output is as :
I=1
I=2
I=3
I=4
I=5
Read more �
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment