Question: Cell Phone Data Cost Calculator Write a C# program that will calculate the cost of using data on a smartphone. The user will input the
Cell Phone Data Cost Calculator
Write a C# program that will calculate the cost of using data on a smartphone. The user will input the
number of bytes used as a long value, then the program will determine the number of gigabytes,
megabytes, kilobytes and remaining bytes used. The final bill will be calculated using the data cost for
each category, adding the fixed fees, and finally adding the GST due. The fee table for data usage is
shown below:
You will use a combination of the integer division and remainder operators to determine the number of
Gigabytes, Megabytes, Kilobytes, and Bytes required for the total data used. Determine the data cost by
multiplying each by its cost per unit. The Access Fee $ and the System Access Fee $ will
be added to the data cost, and the GST applied to the sum of all fees and costs. The bill will be
displayed using the format shown below, including color, with the data usage and costs organized neatly
into columns.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
