Hi folks,
My university course has progressed onto C++ programming now, and im learning how to use various variables and functions within the program using Dev CPP compiler. If there is any coders out there, I would appreciate your help on this nagging issue.
Basically the first part of the program I have to calculate call charges for customers, charged at national rate at £1.50 a minute for the first 3 minutes, and 30p thereafter. However at certain days and times, theres discounts applied. For example between 8am and 4:59pm on weekends theres a 60% discount. I have been searching all over the net for C++ maths algorithms but couldn't find anything relevant.
Thanks for any help.



Pages in this thread:
Print Thread
deleted