77 902
Assignments Done
Successfully Done
In August 2019

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;

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!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions