You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
298 B
20 lines
298 B
1 year ago
|
#include "mysyslib.h"
|
||
|
|
||
|
char mainMenu() {
|
||
|
char out[4][8] = {"Input","Output","Order","Quit"};
|
||
|
for(int i=1;i<5;i++){
|
||
|
for(int j=0;j<30;j++){
|
||
|
printf(" ");
|
||
|
}
|
||
|
printf("%d.%s\n",i,out[i-1]);
|
||
|
}
|
||
|
char ipt;
|
||
|
scanf("%c",&ipt);
|
||
|
return ipt;
|
||
|
}
|
||
|
|
||
|
int main(){
|
||
|
mainMenu();
|
||
|
return 0;
|
||
|
}
|