ADD file via upload

main
pvl836cjw 1 year ago
parent 6ae9ba7da1
commit 05b1cc9b26

@ -0,0 +1,34 @@
#include <stdio.h>
int main()
{
int i;
for(i=30;i>=1;i--) printf(" ");
printf("1.Input\n");
for(i=30;i>=1;i--) printf(" ");
printf("2.Output\n");
for(i=30;i>=1;i--) printf(" ");
printf("3.Order\n");
for(i=30;i>=1;i--) printf(" ");
printf("1.Quit\n");
char x;
scanf("%c",&x);
switch(x)
{
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 tings Ordered");break;
case 'q':printf("You are about to Quit");break;
default:printf("Wrong Input");
}
}
printf("%0.1f",sum);
printf("\n");
sum=0;
}
}
}
}
Loading…
Cancel
Save