home
Learn
screen_rotation
#include <stdio.h> #include <conio.h> void main(){ int i; clrscr(); printf("\n This is a for() loop statement program."); for(i=1;i<=10;i++){ printf("\n %d HELLO FRIENDS ",i); } getch(); }
Program Output
This is a for() loop statement program.1 HELLO FRIENDS2 HELLO FRIENDS3 HELLO FRIENDS4 HELLO FRIENDS5 HELLO FRIENDS6 HELLO FRIENDS7 HELLO FRIENDS8 HELLO FRIENDS9 HELLO FRIENDS10 HELLO FRIENDS