Question: Write a program that computes and displays a 15 percent tip when the price of a meal is input by the user. (The tip is

Write a program that computes and displays a 15 percent tip when the price of a meal is input by the user. (The tip is computed by multiplying the price of the meal by 0.15.) You will need the following variables:

MealPrice (a Float)             

Tip (a Float)

Step by Step Solution

3.39 Rating (158 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Declare Price As Float Declare Tip ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Prelude to Programming Questions!