65 789
Assignments Done
99,4%
Successfully Done
In October 2018

Answer to Question #40501 in C++ for Bilal

Question #40501
write a program in c++ which calculate the next salary for an employee.. with a starting password. plz rply me.. im waiting
Expert's answer
#include <iostream>
int main() {
int numbeOfDaysWorked, workingDayLength;
double wage;
std::cout << "PLease input number of days worked" << std::endl;
std::cin >> numbeOfDaysWorked;
std::cout << "Please input the working day length" << std::endl;
std::cin >> workingDayLength;
std::cout << "Please input the wage" << std::endl;
std::cin >> wage;
std::cout << "The salary for the month is " << (double) numbeOfDaysWorked * workingDayLength * wage << "$" << std::endl;
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

Assignment Expert
26.06.14, 16:14

Dear Bilal,
You're welcome. We are glad to be helpful. 
If you liked our service please press like-button beside answer field. Thank you!

Bilal
03.06.14, 21:01

thnk u so much :-)

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions