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.

1 answer

#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()
Similar Questions
  1. Purpose:• Write AND OR & NOT logic in pseudo-code and Raptor. Requirements: In Notepad, write pseudo-code for the following.
    1. answers icon 9 answers
  2. Purpose:• Write AND OR & NOT logic in pseudo-code and Raptor. Requirements: In Notepad, write pseudo-code for the following.
    1. answers icon 1 answer
    1. answers icon 6 answers
  3. Week 3 - Expand Pseudo CodeThe accounting office indicated the code must be able to handle overtime hours. Add functionality to
    1. answers icon 0 answers
more similar questions