Page 1 of 1

(C++) I need help creating a code for this program in C++. It must look similar to the output samples provided and also

Posted: Thu Jul 14, 2022 2:17 pm
by answerhappygod
(C++) I need help creating a code for this program in C++.It must look similar to the output samples provided and also theinput validation must be the same. I also provided the gradingrubric as a guide.
C I Need Help Creating A Code For This Program In C It Must Look Similar To The Output Samples Provided And Also 1
C I Need Help Creating A Code For This Program In C It Must Look Similar To The Output Samples Provided And Also 1 (85.3 KiB) Viewed 33 times
iMobile is a mobile phone service company that offers three different data plans to its customers. Plan A: Price: $39.99 per month. Data allowance: Includes 4 gigabytes of data. Additional data costs $10 per gigabyte. Plan B: Price: $59.99 per month. Data Allowance: Includes 8 gigabytes of data. Additional data costs $5 per gigabyte. Plan C: Price: $69.99 per month. Data Allowance: Unlimited Write a program that calculates a customer's monthly bill. It should prompt the user for the customer's plan and the number of gigabytes of data used. It should then calculate and display the total amount due. Notes Use a menu to prompt user for Plan. Input Validation Display an error message if the user enters an invalid menu option. Do not allow negative values for data used. Display amount due, formatted with a precision of two decimal values.
c: Microsoft Visual Studio Debug Console imobile Bill Calculator... Select a subscription package: 1. Package A 2. Package B 3. Package C Package: 1 How many gigabytes of data were used? 12.5 The total amount due is $124.99 The Text version of the Output samples for the iMobile Input Validation c:: Microsoft Visual Studio Debug Console iMobile Bill Calculator... Select a subscription package: 1. Package A 2. Package B 3. Package C Package: 0 Error... Invalid package. Try again. c: Microsoft Visual Studio Debug Console iMobile Bill Calculator... Select a subscription package: 1. Package A 2. Package B 3. Package C Package: 2 How many gigabytes of data were used? −100 Error.... Invalid gigabytes entered. Try again.
Grading Rubric