Get premium membership and access questions with answers, video lessons as well as revision papers.

Write a program in C++ that inputs the number of hours that an employee works and the employee's wage.Then display the employee gross pay.(Be sure...

      

Write a program in C++ that inputs the number of hours that an employee works and the employee's wage.Then display the employee gross pay.(Be sure to prompt for input)

  

Answers


Davis
#include
using namespace std;
into main()
{
double hours,wage;
court<<"Enter hours worked: ";
cin>> hours;
court<< "Enter wage per hour:";
cin>> wage;
cout<<"pay is: $" << wage*hours;
return 0;
}
Githiari answered the question on April 30, 2018 at 13:14


Next: State what would happen in each of the following: (a)if a plant cell is kept in; (i)strong salt solution ...
Previous: Settling disputes through the courts can be slow and expensive. State and explain other forms of dispute resolution other than the courts of law.

View More Computer Studies Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions