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;}
LATEST TUTORIALS
APPROVED BY CLIENTS