home
Learn
screen_rotation
#include <stdio.h> #include <conio.h> void main(){ int i; clrscr(); printf("\n We are using break keyword."); for(i=1;i<=10;i++){ if(i==5){ break; } else{ printf("\n %d",i); } } getch(); }
Program Output
We are using break keyword. 1 2 3 4