Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

About I would like to get a rough estimate on how much tuition and fees will cost me this semester. While a paper pencil and

image text in transcribed
image text in transcribed
About I would like to get a rough estimate on how much tuition and fees will cost me this semester. While a paper pencil and calculator could do the trick, I would like for you to practice your use of integers, doubles, cin, and cout to create a program that will calculate the total tuition Specification A flow chart of the following specification can be found within Project 1 on Canvas First ask the user if they are a student. Are you a student? of the answer is N (for no) exit the program. If the answer is Y (for yes) then ask the next question. How many credit hours are you taking You can assume the user will enter an integer value greater than 0 Then ask the user. What is the cost per credit hour? Then ask the user the next question: Are there any fees? If the answer is n (for no) Print the summary and then exot the program If the answer is Y (for yes) then ask the next question What is the total amount of fees? You can assume the user will enter a double value greater than 0 Prom the summary and exit the prograck The summary consists of the total number of credit hours, their cost the total amount of fees, the subtotal, the tax rate (75%) and then the total . All monetary values must be printed using two decimal places. An example of how to do so can be found here (this is a link) Sample Execution Input This input can be entered either directly into the terminal after each question when you run the program, or it can be entered into the input box provided before running the program Using the input box means you only need to type it in once, however manually entering It may help you when debugging if the program is quitting unexpectedly Then ask the user the next question: Are there any fees? If the answer is N (for no) Print the summary and then exit the program if the answer is Y (for yes) then ask the next question: What is the total amount of fees? You can assume the user will enter a double value greater than 0 Print the summary and exit the program The summary consists of the total number of credit hours, their cost, the total amount of fees, the subtotal, the tax rate (7,5%), and then total. All monetary values must be printed using two decimal places. An example of how to do so can be found here (

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

Microsoft SQL Server 2012 Unleashed

Authors: Ray Rankins, Paul Bertucci

1st Edition

0133408507, 9780133408508

More Books

Students also viewed these Databases questions

Question

Explain the purpose of a measure of variation.

Answered: 1 week ago

Question

2. How do they influence my actions?

Answered: 1 week ago