This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: the user to enter the letter of the package the customer has purchased (A, B, or C) and the number of hours that were used. It should then display the total charges. In addition, your program should calculate and display the amount of money Package A customers would save if they purchased Package B or C, and the amount of money Package B customers would save if they purchased Package C. If there would be no savings, no message would be printed. Part 2: Write a program that first asks the user to enter three test scores, and then calculates the average of the test scores. The program should display the average of the test scores and the letter grade that is assigned for that average (using the rounding scheme that we discussed). Use the grading scheme in the following table: Score Letter Grade 90-100 A 80-89 B 70-79 C 60-69 D Below 60 F...
View Full Document
This note was uploaded on 08/18/2011 for the course COMPUTER S CSC 113 taught by Professor Dr.safwanqasem during the Spring '11 term at King Saud University.
- Spring '11