parent
5433cb4e4a
commit
0f82035233
@ -0,0 +1,22 @@
|
|||||||
|
#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;
|
||||||
|
}
|
Loading…
Reference in new issue