Oct 2, 2006

A diff kind of C program ;)

#include
#include
#define Cute beautiful_lady
main()
{
goto college;
scanf("100%",&ladies);
if(lady ==Cute )
line++;
while( !reply )
{
printf("I Love U");
scanf("100%",&reply);
}
if(reply == "GAALI")
main(); /* go back and repeat the process */
else if(reply == "SANDAL ")
exit(1);
else if(reply == "I Love U")
{
lover =Cute ;
love = (heart*)malloc(sizeof(lover));
}
goto restaurant;
restaurant:
{
food++;
smile++;
pay->money = lover->money;
return(college);
}
if(time==2.30)
goto cinema;
cinema:
{
watch++;
if(intermission)
{
coke++;
Popecorn++;
}
}
if(time ==6.00)
goto park;
park:
{
for(time=6.30;time<= 8.30;time+=0.001)
kiss = kiss+1;
}
free(lover);
return(home);
if(time ==9.30)
goto pub;
pub:
{
friends++;
party++;
booze++;
smoke++;
if(pub.close())
{
pay->bill;
come->out;
}
}
if (highly->intoxicated)
goto friendsroom;
else
{
sweetpan++;
polo++;
goto home;
}
friendsroom:
{
goto sleep;
}
home:
{
if(mom.shouts())
{
reason=(combinedstudy || projectwork || friendsbday);
say->reason;
}
if(dad.shouts())
shut->yourmouth;
call->lover;
if(phone->voice==(lover_dad->voice||lover_mom->voice))
{
hang++;
}
else if(phone->voice==lover->voice)
{
for(time=12:30;time<=1.30;time+=0.001)
{
say->ILuvU;
scanf("100%",&reply); /* "I Love U" already stored in reply */
}
}
goto sleep;
}
sleep:
{
*(dream)=love;
}
}

Technorati Tags: , , ,

2 comments:

  1. Ayyayyyyoooooo
    C kum enakkum sammathame illa.....

    ReplyDelete
  2. coool prgram dude this program must have been a part of our syllabus and everyone must have got this program for the practical

    ReplyDelete