Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- main()
- {
- // Show the Menu
- puts("Menu : \n 1) Coffe \n 2) Juse \n 3) Water \n 4) Salad \n 5) Pizza \n 6) Soda \n 7) Burger \n");
- // Get the selected Item :
- puts("Please enter your choice number : ");
- int choice ;
- scanf("%d",&choice);
- // Proccess the selection :
- if(choice==1) puts("Coffe");
- if(choice==2) puts("Juse");
- if(choice==3) puts("Water");
- if(choice==4) puts("Salad");
- if(choice==5) puts("Pizza");
- if(choice==6) puts("Soda");
- if(choice==7) puts("Burger");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement