program that prompts the user to enter any integer from 1 t0 7 and displays the corresponding day of the week

#include<stdio.h>
#include<conio.h>
void main()
{
int week;
clrscr();
printf(“Enter number of week’s day(1-7):”);
scanf(“%d”,&ch);

switch(week)
{
case 1: printf(“Sunday”);
break;
case 2: printf(“Monday”);
break;
case 3: printf(“Tuesday”);
break;
case 4: printf(“Wednesday”);
break;
case 5: printf(“Thursday”);
break;
case 6: printf(“Friday”);
break;
case 7: printf(“Saturday”);
break;
}
getch();
}



πŸ˜€πŸ˜€





Let's laugh

 Expectation Vs RealityπŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚



 

Troll

 #True_shit πŸ˜‚πŸ˜‚