Question: CPSC 1103 Assignment 1 Problem Amobilephoneserviceprovider has three differentdata plansfor its customers: Package A:For $39.99per month,4 gigabytesare provided. Additionaldata costs$10pergigabyte. Package B:For $59.99per month,8 gigabytesare
CPSC 1103Assignment 1
Problem
Amobilephoneserviceprovider has three differentdata plansfor its customers:
Package A:For $39.99per month,4 gigabytesare provided. Additionaldata costs$10pergigabyte.
Package B:For $59.99per month,8 gigabytesare provided. Additionaldata costs$5 pergigabyte..
Package C:For $69.99permonth,unlimiteddatais provided.
Write a programtoask which package the customer has purchasedand how many gigabytes were used. It should then display the total amount due.
Input validation: Be sure the user only selects package A, B, or C.
Display how much money Package A customers would save if they purchased packages B orC;
how much money Package B customers would save if theypurchased packages A orC;
and how much Package C customers would save if they purchasedpackages A or B.
If there would be no savings, no message should be printed.
What to hand in:
Pleasepreparethe title page for requirements for assignments.
You need the following in a single Word document:
A title page with your name, section, assignment #, instructor nameSource code listing fully documented (comments for purpose, file, programmer, all variable declarations, and major tasks).Test runs to show valid and invalid data as well as savings.AUser Guide is a separate page and meant for anon programmer(the User who wants to buy a service package and wants the best one).The guide should be organized as follows:
PURPOSE:
This is where you address the user with why they would use your program.
SAMPLE SESSION:
This is where you do a screen shot of a simple straightforward run. (This is separate from technical testing)
ASSUMPTIONS/LIMITATIONS
This is where you point out things like youmustrun the program again if the use makes an invalid entry. Do at least 3 points.
1.
2.
3.
A hierarchy chartfor example to calculate the area of a rectangle
Area
Get length and width
validate length and width
Calculate area
Output results
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
