|\/| | 5 5 | 0 /\/ 3

Posted: May 18, 2010 by Jinkchak in RVCE, RVCE CSE

 

#include< stdio.h>

#include< conio.h>

#include< string.h>

#include< ctype.h>

void main()

{

char ch,ch1;

float z;

char x[]=”AD”;

int t;

char day[]=”Wednesday”;

char month[]=”May”;

int y=19;

int year=2010;

printf(“\n\t\t \t |\\/| | 5 5 | 0 /\\/ 3 : “);

if(y==19 && strcmp(month,”May”)==0 && year==2010)

{

if(strcmp(x,”AD”)==0)

{

printf(“\n\n\nMission : Introduction to Computer Programming”);

printf(” 07CS23\n”);

z=(float)3/(float)24;

printf(“\nDuration = %f days\n”,z);

t=0*0+3*10+9*100;

printf(“\nTime : %04d hrs -“,t);

t=0*0+3*10+2*100+1*1000;

printf(“%04d hrs IST\n”,t);

printf(“\nDate : %s,%s %d, %d AD\n”,day,month,y,year);

printf(“\nLocation: Anywhere in the RVCE Campus,”);

printf(“\n\tMysore Road,Bangalore -560059 Karnataka, India”);

printf(“\n\tAsia, Earth, Solar System, Milky Way..”);

printf(“\n\t…………………………………………..Empty Space…..”);

printf(“\n\n”);

printf(“Possible Enemies : Invigilators, Question-Paper Setters, PDE, Duster, Chalk Dust”);

printf(“\n\nWeapons : Answer Booklet, Hall Ticket, Stationery Items, Sense Organs, Time, \n\tDuster, Chalk Dust”);

printf(“\n\nWas the mission successful (y/n)?”);

if(100)

{

ch=getchar();

ch1=toupper(ch);

if(ch1==’Y’)

{

printf(“\n\nPossible Rewards : No more classes in which poor dusters are banged on the black\tboard in order to maintain discipline.”);

printf(“No more classes with the following \tprintf statement :”);

printf(“\n\tprintf(\”HAI HAI\”);”);

printf(“/*I seriously don’t know what she tries to convey\n\t through this printf statement*/”);

printf(“\n\tNo more classes in which those who punctual are locked up in the class \n\troom and finally, those who bunked are given attendance”);

}

else

{

printf(“\nMission Failed. Please try again later\n”);

}

printf(“\n\n\n\n”);

printf(“\n1. Program developed by Sidney Sheldon using Borland Turbo C v3.0”);

printf(“\n\tGNU GENERAL\n\tPUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free \n\tSoftware Foundation, Inc.”);

printf(“Everyone is permitted to copy and distribute \n\tverbatim copies”);

printf(“of this license document, but changing it is not allowed.”);

printf(“\n\n2. The |\\/| | 5 5 | 0 /\\/ 3 logo is a registered trademark of rvce.cs.b.2013”);

printf(“\n All other trademarks are the property of their respective owners. All rights reserved.”);

printf(“\n\n3. As you know by now, all disputes are subject to RVCE Jurisdiction only”);

}

getch();

}

}

}

 

 

 

*** In case you have no compiler, the outputs can be viewed here :

http://picasaweb.google.com/116140288140452498510/5503Output#



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s