parent
e06229d523
commit
95733f53e8
@ -0,0 +1,29 @@
|
||||
#include <stdio.h>
|
||||
int main()
|
||||
{
|
||||
printf("%*s%s\n",30,"","1.Input" );
|
||||
printf("%*s%s\n",30,"","2.Output" );
|
||||
printf("%*s%s\n",30,"","3.Order" );
|
||||
printf("%*s%s\n",30,"","4.Quit" );
|
||||
char ch;
|
||||
scanf("%s",&ch);
|
||||
printf("\n");
|
||||
if(ch=='i'){
|
||||
printf("You are trying to Input info");
|
||||
}else{
|
||||
if(ch=='o'){
|
||||
printf("You are trying to Output info");
|
||||
}else{
|
||||
if(ch=='m'){
|
||||
printf("You are trying to Make things ordered");
|
||||
}else{
|
||||
if(ch=='q'){
|
||||
printf("You are about to Quit");
|
||||
}else{
|
||||
printf("Wrong input");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
Loading…
Reference in new issue