Question #40501
write a program in c++ which calculate the next salary for an employee.. with a starting password. plz rply me.. im waiting
1
Expert's answer
2014-05-14T12:17:15-0400
#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 :-)

LATEST TUTORIALS
APPROVED BY CLIENTS