Question #53214

Write a program that calculates a customer internet monthly bill. It should ask which package the customer has purchased, what month (in terms of numeric), and how many hours were used. It should display the total amount due.

Expert's answer

include <iostream>
using namespace std;


int main(){
int packagePushased;
cout << "Hi! What package did you pushase?\n";
cin >> packagePushased;
cout << "What month? (1-12)\n";
int month;
cin >> month;
cout << "How many hours were used?";
int hours;
cin >> hours;

cout << hours*packagePushased;

system("pause");
return 0;
}
LATEST TUTORIALS
APPROVED BY CLIENTS