Wednesday 6 September 2017

Run It ....It is really funny..

#include<stdio.h>
#include<conio.h>
void main()
{
char ch[]="I AM AN IDIOT.";
char c='A';
int i=0;
while(c)
{
c=getch();
printf("%c\a",ch[i]);
i++;
if(i==14)
{
printf(" "); i=0;
}
}
}

2 comments:

  1. this is really funny.On Typing any letter it shows "I AM AN IDIOT".

    ReplyDelete
  2. it is showing "I AM AN IDIOT".

    ReplyDelete