Performing+Calculations

Global Mobile Ltd use a program to calculate their mobile phone bills. The program does the following:

1. Reads in the current tariff a customer is on (gold, silver or bronze) 2. Reads in the number of call minutes used by the customer 3. Reads in the number of texts used by the customer 4. Calculates the bill

The formula for calculating the bill is simple Bronze bill = (No Texts x Bronze Text Price) + (Number Minutes x Bronze Minutes Price) Silver bill = (No Texts x Silver Text Price) + (Number Minutes x Silver Minutes Price) Gold bill = (No Texts x Gold Text Price) + (Number Minutes x Gold Minutes Price)

Download the Global Mobile calculator from here:

G:\Resources\Computing\Info Systems\09-10 Course\4 Functions of OIS

Process a few bills by clicking the Get Next Bill button.

Copy and complete the table below.


 * ||= **Text Cost** ||= **Minutes Cost** ||
 * **Bronze** ||  ||   ||
 * **Silver** ||  ||   ||
 * **Gold** ||  ||   ||