65 721
Assignments Done
99,2%
Successfully Done
In October 2018

Answer to Question #53214 in C++ for Andrea

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;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions