Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

Your local sports stadium is finally reopen! In order to recoup some of the losses it now charges $57.99 for a beer and a hotdog.

Your local sports stadium is finally reopen! In order to recoup some of the losses it now charges $57.99 for a beer and a hotdog. Ask the customer how many beerdog packs they want and calculate the total charges.

Output:

How many beerdog packs do you want? (assume user inputs) Your total charges food is $0

Hints and Notes:

1) A constant must be used for this program. As you gain a little more experience, I will stop telling you when constants are needed, as I expect you to know by then.

2) Use the Input...Processing...Output (IPO) structure for this program. You will need two variables (in addition to the constant) to do this correctly. Again, as you gain more experience, many of these notes and hints will go away.

3) IMPORTANT: Mimir has a small quirk when processing input. Unlike a human user which presses Enter, Mimir does not simulate this. Therefore, your output will appear as if it is in the same line as the input! The easy way to avoid this is to add a "std::cout

image text in transcribed

9. Constants and Input 15 points possible React to Starter Code your oce sports secum sfinely ecpen Iroceso recoup some of 19 Osses it now charges 597.99 ora ceer and a coce: 45

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_2

Step: 3

blur-text-image_3

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 explore these related Databases questions

Question

Question 4 of 7

Answered: 3 weeks ago