Answered step by step
Verified Expert Solution
Question
1 Approved Answer
help A particular college charges $118.22 per credit. Ask the user how many credits he/she is taking this semester and calculate what the total charges
help
A particular college charges $118.22 per credit. Ask the user how many credits he/she is taking this semester and calculate what the total charges for that semester are.
Output:
How many credits are you taking this semester? (assume user inputs 3)
Your total charges for this semester are $354.66
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
D- HW 1. Question 1- Constants and Input 20 points possible kot 10 Star Cone Agent met de Wet www wyceny gece 66 Acordos r. W posto wwwwwwwwww MONTANT MM. wederach Code ppo M Sereno Grading ro put cout any credits are you taking the samest": imtype Yol code bere CORE and oder print type your code here West cout your coral charges for this semester are stype pour code hare AM O ti WW c. What Con 1. Question 1- Constants and Input 20 points possible Aparece en wowwwwwwwwww QUE wwwww ger il corpo. As you more expendwo Nowy Poco powodowa MONT douthwest TO WORS VEDO Moreno Grading code.cpp (Dual VARES AO CORTS TE IM cout any credits are you taking this ster? Cin you code here cout 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