Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 6 Answer saved Question 3 . 1 ( 2 5 Marks ) Write a program that calculates the charge for internet data usage based

Question 6
Answer saved
Question 3.1(25 Marks)
Write a program that calculates the charge for internet data usage based on the amount of data used in gigabytes (GB). The program should prompt the user to enter the amount of data used and display the charge in a message box. The conditions are as follows:
a.0 to 1GB the charge is R100.00
b.1 to 5 GB the charge is R250.00
c.5 to 10 GB the charge is R455.00
d. More than 10 GB the charge is R850.00.
Expected Output
Internet Data usage Charge Calculator
Enter the amount of data used in gigabytes (GB)
Pay
Exit
Charge
The charge for 12 GB is R850,00
image text in transcribed

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

Databases A Beginners Guide

Authors: Andy Oppel

1st Edition

007160846X, 978-0071608466

More Books

Students also viewed these Databases questions

Question

2 The main characteristics of the market system.

Answered: 1 week ago