Earn by twitter on twivert

Sign up for PayPal and start accepting credit card payments instantly.

Sunday, May 2, 2010

WAP to display day name according to enter number


/*WAP to display day name according to enter number*/

#include<stdio.h>
#include<conio.h>
void main()
{
int day;
clrscr();
printf("enter no.");
scanf("\n%d",&day);
switch(day)
{
case 1:printf("monday");
break;
case 2:printf("tuesday");
break;
case 3:printf("wednesday");
break;
case 4:printf("thusday");
break;
case 5:printf("friday");
break;
case 6:printf("satarday");
break;
case 7:printf("sunday");
break;
default:printf("No Day");
}
getch();
}

No comments:

Post a Comment

ADS

How to earn online

How to earn online:
Step - 1 :
signup for PayPal, to recieve your online earning
click here:
https://www.paypal.com/in/mrb/pal=CZ7224TZBMCBL
step - 2 : Singup these 4 sites & earn & enjoy! Read site to know how to earn.
1. trekpay
Earn up to $0.02 (2 cents) per click.
http://www.trekpay.com/?ref=34690
2. neobux
Earn up to $0.02 (2 cents) per click.
Click here:
http://www.neobux.com/?r=Moneyearner786

AddMe

Bookmark and Share