Question
C Programming Only can use #include #include #include //First Screen Display these options 1. Show Available Items 2. Buy an Item 3. Purchased Items Your
C Programming
Only can use
#include
//First Screen Display these options
1. Show Available Items
2. Buy an Item
3. Purchased Items
Your Option: //If enters a invalid number Wrong Option.. Choose again and main menu shows up again
//If the user enters 1 - Show Available Items
Wireless Charger19.0$
Case for IPhone10.5$
Glass Screen4.0$
//The first page shows up again
//If the user enters 2
1. Wireless Charger
2. Case for IPhone
3. Glass Screen
Enter the number of item you want to buy:
//If enters a invalid number Wrong Option.. Choose again and the Buy Item menu shows up again
//If enters correct option this message shows up Do you want to add comment? (yes or no)
// It should works if enters yes or no in captail or small letters or both
// If yes user can add any note and then the main menu shows up again
Note:
//Example: I want only 1white colour case
// If no the main menu shows again
//For wrong selection wrong selection Do you want to add comment? (yes or no)
//When the main menu shows up again and the user enter 3
Your purchased items:
Item: Case for IPhone //the name of item that he selected in buy an item
Note: I want only 1white colour case // if he enters a note it should appears as well
//The main menu shows up again
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started