Funny Program.. Have fun..! :)

Program:

#include<stdio.h>
#include<conio.h>

void main()
{
    int i=0;
    char a[40]="Hi..Your System Screen Become Mad :)",b='a';
    clrscr();
    printf("To stop the process,press: q\nElse Start typing!\n\n");
    while(b!='q')
    {
        b=getch();
        printf("%c",a[i]);
        i++;
        if(i==36)
        {
        i=0;
        printf("\n");
        }
    }
}


Sample Output:


No comments:

Post a Comment

Let Us hear Your thoughts about this Post.. Its Our Pleasure to get your feedback..

Programs and Solutions