You are a barber at a local hair salon. The money you earn is dependent on the number of clients you serve within a month (6 days per week). Each customer pays $10.00 per haircut.
Write a structured program that will calculate the amount of money you will earn for a month.
Use the following guidelines:
(a) Write the program header.
(b) Write all variables.
(c) Ensure that the variables can store whole numbers.
(d) Set the number of days in your week to 6.
(e) Set the cost of a haircut to 10 ($10.00).
(f) Prompt the user for the number of weeks in the month.
(g) Allow the user to enter the number of weeks in the month.
(h) Prompt the user for the number of clients seen per day.
(i) Allow the user to enter the number of clients seen per day.
(j) Calculate your salary as 70% of the total money you collected.
(k) Print your salary after a prompt which says "Salary:".
(1) Write the closing statements of your program.
(m) February is customer appreciation month. Clients are charged $8.00 per haircut. Write
the program line which will show this change in cost of a haircut.
0 · ·