ask the user to input telephone bill. You have to find out total bill according to following conditions.
The first 30 calls charge no rupees. The next 20 call charge Rs.2 per call. The next 30 calls charge Rs.3 per call. And next calls charge Rs.5 per call.
1
Expert's answer
2013-01-08T12:06:10-0500
#include <iostream> #include <conio.h>
using namespace std;
void main() { int callCount; int totalBill = 0;
cout << "Enter a number of calls: "; cin >> callCount;
Comments
Leave a comment