Write a script that calculates the tip in a restaurant


Write a script that calculates the tip in a restaurant according to the amount of the bill?- The program should ask about the amount of the bill in dollars- if the bill is less than $10 then the tip is $1.80- if it is between $10 and $60 the tip is %15 of the bill.- Above $60 the tip is 20% of the bill.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Write a script that calculates the tip in a restaurant
Reference No:- TGS01629007

Now Priced at $10 (50% Discount)

Recommended (95%)

Rated (4.7/5)