Question: Chapter 3 Homework 1 . Write pseudocode to calculate the weekly pay for employees. The user will prompted to enter the number of hours worked

Chapter 3 Homework
1. Write pseudocode to calculate the weekly pay for employees. The user will prompted to
enter the number of hours worked and their job code. Hours in excess of 40 are paid at
1.5 times the hourly pay. Job code hourly rates are: P - $10, Q - $12.50, R - $15.00, and S
- $20.00. Use both a case and a selection structure.
2. At a college the tuition for 1 credit hour is $500, but students are given a discount based
on the following:
Credit hours Discount
1-52%
6-105%
11-158%
16 or above 10%
Write pseudocode that will ask the user to enter the number of credit hours they are
registered for, and then calculated the total cost, the discount, and the cost after the
discount.
3. Write pseudocode that will calculate a ___% tip and a 6% tax on a meal price. The user
will enter the meal price and the program will calculate tip, tax, and the total. The total is
the meal price plus the tip plus the tax. Your program will then display the values of tip,
tax, and total.
The restaurant now wants to change the program so that the tip percent is based on the
meal price. The new amounts are as follows:
Meal Price Range Tip Percent
.01 to 5.9910%
6 to 12.0013%
12.01 to 17.0016%
17.01 to 25.0019%
25.01 and more 22%

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 Databases Questions!