+ 1
How do I write a C++ program that calculates and displays phone charges for 6 people
Employees are allowed to use the office telephone for call for a fee,each employee is given a pin code to allow them to make calls, the fee is R2 to make a call up to 3 minutes, an additional R1 per minute and therefore in access of 3 minutes charged, the max charge monthly an employee can pay is R10, thereafter the phone pin gets blocked and can only be blocked at beginning of next month, assume no employee reaches R10 mark, how do I create a program that uses a loop to calculate telephone charges
3 Réponses
+ 9
secondly write your code and post it so we can help you.
+ 6
Let me write something you can start with.
I will post it when I'm done for comments and improvement.
+ 1
firstly do you have the ability to log the number and times of the calls in software already? If you do it should not be that hard to assign each employee a variable and then apply an algorithm to each variable that will do the calculation for you.