Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

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

Answer Attachments

Exams With Marking Schemes

Related Questions