Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

!!!! PLease dont copy and paste from previous one b/c that doesnt work i need this program running and following the guidelines. please!!! C0MSC 140-C++

!!!! PLease dont copy and paste from previous one b/c that doesnt work i need this program running and following the guidelines. please!!!

image text in transcribedimage text in transcribed

C0MSC 140-C++ ICE CREAM (YUMMY ASSIGNMENT) INSTRUCTOR: JACKIE KUEHN C3 FUNCTIONS (40 Points) NAME: DUE: e a C++ program to simulate an ice cream cone vendor. When run, the program initially presents the user with the price list displayed as follows. Each flavor is specified by exactly one character code. The program first prompts the user for the number of cones he or she wishes to purchase. The user enters a nonnegative integer not more than 10. Then, for each cone, the program asks the user for the number of scoops desired (5 maximum) and the desired flavor. Then the program displays a simple ASCII representation of the cone as shown below. Finally the program will print out the user's bill and then quit. The program should use error checking. If the user enters an incorrect input, the program should prompt the user for the correct input with the correct range. This program should use named constants, for example MAXScooPS 3. Write the program using at least 3 functions. You may choose to have your output like this. If you want to change prices or make it more creative.>feel free. Turn in the code and a sign-off. No e- mail

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Which form of proof do you find least persuasive? Why?

Answered: 1 week ago