Question: Exercise 4 / 5 : ( 1 5 Points ) Write a python code where you ask the user to enter number of hours, he

Exercise 4/5:
(15 Points)
Write a python code where you ask the user to enter number of hours, he/she worked and his/her hourly pay rate. Now calculate the gross pay as hours
worked multiplied by hourly rate.
Display the gross income up to 3 decimal places with 7 spaces (5 Points)
Design your output anyway you like.
Exercise 5/5: (PC#8: Tip, Tax, and Total)
(20 Points)
Write a program that calculates the total amount of a meal purchased at a restaurant. The program should ask the user to enter the charge for the food,
then calculate the amounts of an 18 percent tip and 7 percent sales tax (Must declare and use them as named constant-5 points).
Exercise 4 / 5 : ( 1 5 Points ) Write a python

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Programming Questions!