Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need the following code for this loop in C++ Let’s get the menu selections org

ID: 3640744 • Letter: I

Question

I need the following code for this loop in C++

Let’s get the menu selections organized. Your menu should allow for the following selections: lemonade, cookies, t-shirts, and quit. If the selected sale item is lemonade, then ask for which size of lemonade cup the customer wants. Two sizes are available: 12 and 16 ounces. (For pricing, see the directions later.) If the selection is cookies, then ask for what type of cookie they want. We plan to sell two yummy types of cookies: chocolate chip and oatmeal. If the selection is a t-shirt, then ask if it is to be a non-autographed one or one of the special autographed shirts. (Hint: for any of these selections, do NOT ask the user to enter anything more than a single character or number. Don’t expect them to type in something like “chocolate chip”, for example. The entry needs to be simple, like C or 1, etc.)

To help simplify this program we will let one person buy only one item at a time. So, one sale could consist of one cookie, or one cup of lemonade, or one T-shirt—that’s all! I know that sounds like a very primitive program, but I’m going to take it easy on you for now. The processing is already difficult enough!

Explanation / Answer

#include #include #include #include #include using namespace std; int main() { int ch,ch2,p,pt,exit = 0; pt = 0; do { cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote