You need to write the pseudocode or draw the flowchart for the problems you need to solve. Pass in the pseudocode or
Problem #1: Take in the inches of snow from three storms. Calculate the total amount of
snow that fell and the average snow fall and display both results.
Problem #2: Take in the water bill for each of the four quarters. Tell me the sum of the bills and the average
of the bills. If the sum is greater than 400, write a message about conserving water, otherwise write a message
that says ok.
Problem #3: You have received 4 numeric grades for the semester. Grades can range from 0 to 100. The first grade
counts for 10% of you final grade. The second grade counts for 20% of your final grade. The third grade counts for 25%
of your final grade. The fourth grade counts for 45% of your final grade. Calculate and display your final numeric grade.
Display the letter grade as well.
Problem #4: Take in the customerís food charges and their beverage charges. Add them together to get the total before tax. Calculate the tax (use 5.2%) and
give the price after taxes. Now calculate the tip (you are tipping at 15%) and add that to the total. Display three outputs: Bill before taxes, bill including
taxes, bill including taxes and tip.
Problem #5: You need to calculate an employees pay. To do this you will need to take in the following four inputs:
You should ask a question to determine if the employee worked over their contracted hours and then calculate
the appropriate pay. Test this problem with information about an employee who did not work over their contracted
hours and again for an employee who did work over their contracted hours. See if they both work.
- the number of hours the employee worked
- the number of hours the employee is contracted to work before the employee receives overtime
(for example, the employee might be contracted to work 40 hours and only receives overtime for hours
- the pay per hour
- the rule for calculating over time (time and one half would be 1.5 while double time would be 2).