You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
465 B
23 lines
465 B
#include<stdio.h>
|
|
|
|
int main()
|
|
{char a,b,c,d,e;
|
|
b='i';
|
|
c='o';
|
|
d='q';
|
|
e='m';
|
|
printf("%*s1.Input\n%*s2.Output\n%*s3.Order\n%*s4.Quit\n",30,"",30,"",30,"",30,"");
|
|
scanf("%c",&a);
|
|
if(a==b)
|
|
printf("You are trying to Input info");
|
|
if(a==c)
|
|
printf("You are trying to Output info");
|
|
if(a==d)
|
|
printf("You are about to Quit");
|
|
if(a==e)
|
|
printf("You are trying to Make things ordered");
|
|
if(a!=b && a!=c && a!=d && a!=e)
|
|
printf("Wrong input");
|
|
return 0;
|
|
}
|