Question: /* * File: main.cpp * Author: YOUR NAME HERE * Created on DATE AND TIME HERE * Purpose: ISP charges */ //System Libraries Here #include

/* * File: main.cpp * Author: YOUR NAME HERE * Created on DATE AND TIME HERE * Purpose: ISP charges */
//System Libraries Here #include
//User Libraries Here
//Global Constants Only, No Global Variables //Like PI, e, Gravity, or conversions
//Function Prototypes Here
//Program Execution Begins Here int main(int argc, char** argv) { //Declare all Variables Here char package; unsigned short hours; //Input or initialize values Here cout>package>>hours; //Basic Charges
//Output the Charge
//Output the cheapest package and the savings //Exit return 0; }
PLEASE CODE IT IN C++ LANGUAGE
An ISP has 3 different subscription packages a) $16.99 per month, 10 hours access. Additional hours are $0.95 up to 20 hours then $0.85 for all additional hours. b) $26.99 per month, 20 hours access. Additional hours are $0.74 up to 30 hours then $0.64 for each hour above this limit. c) $36.99 per month unlimited access Input package a,b, or c, hours access then outputs dollar amount with package they should switch to save most amount of money. Calculate the money saved and output as well Prompt ISP charges for service delivered. Input package A,B,C then hours used for the month Input Output 16.99 A $0.00 So choosing package a) with 5 hours of access gives a charge of $16.99 and A is the lowest package with $0.00 dollars saved. Input a 55 Output $56.24 C $19.25 So you are charged $56.24 but choosing package C saves 19.25 Input b 45 Output $43.99 C $7.00 So you are charged $43.99 but choosing package C saves $7.00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
