parent
dca008997b
commit
8203996ee0
@ -0,0 +1,16 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
printf(" 1.Input\n");
|
||||||
|
printf(" 2.Output\n");
|
||||||
|
printf(" 3.Order\n");
|
||||||
|
printf(" 4.Quit\n");
|
||||||
|
char c;
|
||||||
|
scanf("%c",&c);
|
||||||
|
if(c=='i'){printf("You are trying to Input info:");}
|
||||||
|
if(c=='o'){printf("You are trying to Output info");}
|
||||||
|
if(c=='m'){printf("You are trying to Make things ordered");}
|
||||||
|
if(c=='q'){printf("You are about to Quit");}
|
||||||
|
if(c!='i'&&c!='o'&&c!='m'&&c!='q'){printf("Wrong input");}
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in new issue