Asked by hafsa

Solve the following problem. Apply all the steps i.e decomposition, Flowcharting and Pseudo code. Also write C++ program.

Design and Write an interactive program that computes the salary in Rupees of a part-time employee based on:
- Number of days worked.
- Number of hours per day assuming that he worked the same hours every day.
- The hourly wage.

Answers

Answered by najma
#include<iostream>
using namespace std;
int main()
{
int hours;
int days;
int hourRate;
int salary;
double product;

do
{
cout<<"enter part time work"<<endl;

cin>>salary;




product=hours*days*hourRate; //store


cout<<"salary"<<hours<<days<<hourRate<<endl;
}while

return ;
}
//end main()
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions