CSC 1401 Homework 3 - the user to enter the letter of the...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CSC 1401 Homework 3 All work that is turned in must: Contain explicit acknowledgment if you received ANY sort of help (from students or other professors) Turn in a hard copy of your code and a hard copy of the output in the order listed in the homework. Email me a zipped file of your code. o Create a directory called yournameHW3 and do all your work under this directory. o Go to the parent directory and zip this directory using Winzip (or gzip under Unix). o Email the zip file to me. Part 1: An Internet Service Provider has three different subscription packages for its customers. Package A: For $9.95 per month 10 hours of access are provided. Additional hours are $2.00 per hour. Package B: For $13.95 per month 20 hours of access are provided. Additional hours are $1.00 per hour. Package C: For $19.95 per month unlimited access is provided. Write a program that calculates a customer's monthly bill. It should ask
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the 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

Page1 / 2

CSC 1401 Homework 3 - the user to enter the letter of the...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online