A carpenter is paid according to the number of hours he worked in the construction site. If you were to design an algorithm to compute his salary for one (1) day, what will the flowchart look like? Use the formula carpenter’s pay = no. of hours worked * rate per hour. Then display the name of the carpenter and the amount of his pay.
Answers & Comments
Answer:
The flowchart for the given question will look like this: Here, the ellipse with start written inside indicates the start of the process. In the next step, inside the rectangle, the variables are initialized.
Explanation:
Hope it helps po