#include<stdio.h>
#include<conio.h>
main()
{
char choice;
printf("Enter your choice[a-z]:");
choice=getchar();
switch(choice)
{
case'r':
printf("Red");
break;
case'w':
printf("White");
break;
case'b':
printf("Blue");
break;
case's':
printf("\n\n\n\t\t\tSabnam & Shyam");
break;
default:
printf("unknown");
}
}
#include<conio.h>
main()
{
char choice;
printf("Enter your choice[a-z]:");
choice=getchar();
switch(choice)
{
case'r':
printf("Red");
break;
case'w':
printf("White");
break;
case'b':
printf("Blue");
break;
case's':
printf("\n\n\n\t\t\tSabnam & Shyam");
break;
default:
printf("unknown");
}
}
0 comments:
Post a Comment