Answer:
Pseudo code:
1. declare a variable "hour_worked".
1.1 read the hours worked in a day by user and assign it to "hour_worked".
2.Calculate total work in a five-day week as "Week_work=5*hour_worked".
3.Calculate total work in a 252-day year as "year_work=252*hour_worked".
4. print the value of "Week_work" and "year_work".
5.End the program.
// here is implementation in c++.
#include <bits/stdc++.h>
using namespace std;
int main()
{
float hour_worked;
cout<<"enter hours worked in a day: ";
cin>>hour_worked;
cout<<"5-day week work is: "<<5*hour_worked<<endl;
cout<<"252-day year work is: "<<252*hour_worked<<endl;
return 0;
}
Output:
enter hours worked in a day: 5.5
5-day week work is: 27.5
252-day year work is: 1386
Flowchart: