Answered You can hire a professional tutor to get the answer.

QUESTION

Write this code in Visual Studios: In this assignment you will have the following objectives: a. Prompt the user for 3 prices of their meals and store their responses inside of variables that you crea

Write this code in Visual Studios: In this assignment you will have the following objectives:

a. Prompt the user for 3 prices of their meals and store their responses inside of variables that you create.

b. Convert the user prompts into a number data type that you can work with using the math operators.

c. Prompt each of the 3 individual users for a tip % based on how good their services was. Example, the user would type in 20 not .2.

d. Convert the tip % into a number data type that you can work with using the math operators.

e. Using the user prompted variables calculate the following values and remember to store them inside of a variable that you create.

i. Give each user their total bill with cost of tip added in.

ii. The total cost of all of the tips that the waiter will make from that table.

iii. If one person paid for all 3 checks, what would the overall total bill including tips.

iv. How much would each of the 3 guests will pay if split the check up evenly among themselves.

f. Check that your calculator is working correctly with the test values below.

i. These test values should also be in a multi-lined comment at the end of

your code.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question