Post a New Question

c++ programming

posted by .

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.

  • c++ programming -

    #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()

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

More Related Questions

Post a New Question