Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Shites For the following problem Complete the IPO chart (50%) Write Pseudocode (50%) You are writing a program for the telephone company. You will ask

image text in transcribed
image text in transcribed
Shites For the following problem Complete the IPO chart (50%) Write Pseudocode (50%) You are writing a program for the telephone company. You will ask the user to input their last name to begin running the program or to enter QUIT to quit. After entering the program, the user must input the data plan choice (either 3GB or 5GB) and their data usage in Gigabytes. Be sure to validate the data usage with a loop to make sure that it is greater than 0. Within the dato validation loop, make sure to display a message "Invalid data usage, data usage must be greater than 0. How much data did you use this month The standard charges are as follows: For the 3GB plan: 30.00 per month For the 5GB plan: 50.00 per month if the customer's data usage exceeds 3GB for the 3GB data plan, the customer will be charged an extra fee of 10.00 times the amount of data in Gigabytes that exceeds 3GB. If the customer's data usage exceeds 5GB for the 5GB data plan, the customer will be charged an extra fee of 10.00 times the amount of data in Gigabytes that exceeds 568. You are to produce a printed report containing the customer's name, standard service charge, extra data service charge for going over the data plan, and final service charge for the month. Here is how the program should run including test data that is italicized. Remember that your program should run for any customer on any day and not just the customers listed below: Welcome to WeTalk Wireless Provider Data Plan Bill Calculator. Please enter your last name or QUIT to quit: Doe What data plan do you want to use: Enter 3GB for 3 Gigabyte Plan Enter 5GB for 5 Gigabyte Plan 3GB How much data did you use this month? 4 Here are your wireless charges: Name Standard Service Charge Extra Data Service Charge Doe 30.00 10.00 Extra Data Service Charge Final Service Charge 10.00 40.00 Welcome to WeTalk Wireless Provider Data Plan Bill Calculator. Please enter your last name or QUIT to quit: Smith What data plan do you want to use: Enter 3GB for 3 Gigabyte Plan ITP 100 Assignment 1 Makeup Enter 5GB for 5 Gigabyte Plan 5 How much data did you use this month? 0 Invalid Data Usage. Data Usage must be greater than 0. How much data did you use this month? 8 Here are your wireless charges: Name Standard Service Charge Extra Data Service Charge Final Service Charge Smith 50.00 30.00 80.00 Welcome to WeTalk Wireless Provider Data Plan Bill Calculator. Please enter your last name or QUIT to quit: QUIT Thanks for using WeTalk Wireless

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data And Databases

Authors: Jeff Mapua

1st Edition

1978502257, 978-1978502253

More Books

Students also viewed these Databases questions

Question

How do media shape our thinking?

Answered: 1 week ago

Question

Is there a digital divide? If so, why does it matter?

Answered: 1 week ago