Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
image text in transcribed
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 data validation loop, make sure to display a message "Invalid data usoge, 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 SGB 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 SGB data plan, the customer will be charged an extra fee of 10.00 times the amount of data in Gigabytes that exceeds 5GB. 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 Doe Standard Service Charge 30.00 Extra Data Service Charge 10.00 Final Service Charge 40.00 Welcome to WeTalk Wireless Provider Data Plan Bill Calculator. Please enter your last name or QUIT to quit: 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 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. 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 data validation loop, make sure to display a message "Invalid data usoge, 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 SGB 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 SGB data plan, the customer will be charged an extra fee of 10.00 times the amount of data in Gigabytes that exceeds 5GB. 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 Doe Standard Service Charge 30.00 Extra Data Service Charge 10.00 Final Service Charge 40.00 Welcome to WeTalk Wireless Provider Data Plan Bill Calculator. Please enter your last name or QUIT to quit: 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 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

Step: 3

blur-text-image

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

Practical Azure SQL Database For Modern Developers Building Applications In The Microsoft Cloud

Authors: Davide Mauri, Silvano Coriani, Anna Hoffma, Sanjay Mishra, Jovan Popovic

1st Edition

1484263693, 978-1484263693

More Books

Students also viewed these Databases questions

Question

Know how to approach on-the-job training

Answered: 1 week ago