Friday, 6 September 2013

E P 1 P 5 S

#include<stdio.h>
#include<conio.h>
#include<dos.h>
main()
{
printf("I");
delay(200);
printf("N");
delay(200);
printf("D");
delay(200);
printf("I");
delay(200);
printf("A");
delay(200);
clrscr();       /*clears all written on screen*/
printf("I");
delay(200);
printf("S");
clrscr();        /*clears all written on screen*/
delay(200);
printf("G");
delay(200);
printf("R");
delay(200);
printf("E");
delay(200);
printf("A");
delay(200);
printf("T");
delay(200);
}

This program give a feel of typing a text. Here we printed each letter individually and a very minute delay of only 200 milli-seconds, After completing each word we clear screen as only word we have to show.

No comments:

Post a Comment