main
prb3qjwhg 2 years ago
parent 98b599bbba
commit 031ce7b353

@ -1,2 +1,21 @@
# v.2
#include<stdio.h>
int main()
{
printf(" 1.Input\n");//步骤一;
printf(" 2.Output\n");
printf(" 3.Order\n");
printf(" 4.Quit\n");
char a;
scanf("%c",&a);
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 trying to Quit");break;
default:printf("Wrong input");
return 0;
}
}

Loading…
Cancel
Save