#include<stdio.h>
#include<conio.h>
#include<conio.h>
void main()
{
{
int m;
clrscr();
printf("enter number of a month");
scanf("%d",&m);
clrscr();
printf("enter number of a month");
scanf("%d",&m);
switch(m)
{
{
case 1:
printf("january");
break;
break;
case 2:
printf("february");
break;
break;
case 3:
printf("march");
break;
break;
case 4:
printf("April");
break;
break;
case 5:
printf("May");
break;
break;
case 6:
printf("june");
break;
break;
case 7:
printf("july");
break;
break;
case 8:
printf("Augest");
break;
break;
case 9:
printf("september");
break;
break;
case 10:
printf("Octomber");
break;
break;
case 11:
printf("navember");
break;
break;
case 12:
printf("desember");
break;
break;
default:
printf("unvalid choise");
}
}
getch();
}
No comments:
Post a Comment