c-moodle/1/11944.c

19 lines
555 B
C

#include <stdio.h>
int main() {
// printf(" 1.Input\n");
// printf(" 2.Output\n");
// printf(" 3.Order\n");
// printf(" 4.Quit\n");
char m;
scanf("%c", &m);
if (m == 'I')
printf("You are trying to input info");
else if (m == 'O')
printf("You are trying to output info");
else if (m == 'D')
printf("You are trying to make things ordered");
else if (m == 'Q')
printf("You are about to quit");
return 0;
}