#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;
}
Comments
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!
thnk u so much :-)
Leave a comment