C and C++ // online learning spot
#include<stdio.h>
#include<conio.h>
#include<dos.h>
main()
{
printf("I"); /* It prints I */
delay(1000); /* It compels program to wait for 1 second */
clrscr(); /* It clears the screen and reset cursor at upper left corner */
printf("N");
delay(1000);
clrscr();
printf("D");
delay(1000);
clrscr();
printf("I");
delay(1000);
clrscr();
printf("A");
delay(1000);
clrscr();
printf("INDIA");
delay(1000); /* Here delay is is used so that before ending of program it waits for 1 second and you can see output */
}
#include<stdio.h>
#include<conio.h>
#include<dos.h>
main()
{
printf("I"); /* It prints I */
delay(1000); /* It compels program to wait for 1 second */
clrscr(); /* It clears the screen and reset cursor at upper left corner */
printf("N");
delay(1000);
clrscr();
printf("D");
delay(1000);
clrscr();
printf("I");
delay(1000);
clrscr();
printf("A");
delay(1000);
clrscr();
printf("INDIA");
delay(1000); /* Here delay is is used so that before ending of program it waits for 1 second and you can see output */
}
No comments:
Post a Comment