parent
cca0191fd8
commit
7f3d6d4e1d
@ -0,0 +1,25 @@
|
||||
#include <stdio.h>
|
||||
int main()
|
||||
{
|
||||
printf(" 1.Input\n 2.Output\n 3.Order\n 4.Quit\n");
|
||||
|
||||
char a;
|
||||
for(;;)
|
||||
{
|
||||
a=getchar();
|
||||
switch(a)
|
||||
{
|
||||
case'i': printf("You are trying to Input info");break;
|
||||
case'o': printf("You are trying to Output info");break;
|
||||
case'm': printf("You are trying to Make things ordered");break;
|
||||
case'q': printf("You are about to Quit");break;
|
||||
case'\n': printf("\n");break;
|
||||
default: printf("Wrong input");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in new issue