Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I can't understand this 2 questions can I ask for some help 5. Draw the flowchart of pseudocode given below: 1 4. Write the pseudocode

image text in transcribed

I can't understand this 2 questions can I ask for some help

5. Draw the flowchart of pseudocode given below: 1 4. Write the pseudocode and flowchart of a program that calculate the bonus for the employees of an organization. i i If the pay is more that P3,000.00, the bonus amount is fixed, and it is equal to P300.00 ii. If the pay is more than P1,600.00, but less than or equal to P3,000.00, the bonus will be 10% of the pay subject to a maximum of P240.00 iii. If the pay is less than or equal to P1.600.00, the bonus is 15% of pay, subject to a minimum of P100.00 Pseudocode Flowchart start Declarations string name num hours num RATE - 10.00 num WORK WEEK = 40 num OVERTIME = 1.5 num pay string QUIT - "ZZZ" housekeeping while name >> QUIT detailLoop endwhile finish stop housekeeping output "This program computes payroll based on" output "overtime rate of ", OVERTIME, "after", WORK_WEEK," hours." output "Enter employee name or ", QUIT, "to quit >> " input name return detailLoop() output "Enter hours worked >> input hours if hours > WORK_WEEK then pay - (WORK_WEEK * RATE) + (hours - WORK_WEEK) RATE OVERTIME else pay - hours + RATE endif output "Pay for ", name, "is $", pay output "Enter employee name or ", QUIT, "to quit >> input name return finish() output "Overtime pay calculations complete" return

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Business Process Driven Database Design With Oracle PL SQL

Authors: Rajeev Kaula

1st Edition

1795532386, 978-1795532389

More Books

Students also viewed these Databases questions

Question

How do modern Dashboards differ from earlier implementations?

Answered: 1 week ago