What's new

Closed Pseudocode

Status
Not open for further replies.

Xyrions

Addict
Joined
Aug 26, 2015
Posts
132
Reaction
20
Points
93
Age
33
Pa help mga sir for this, Sakit sa ulo Salamat po ♥

write a pseudocode for the program to compute for the weekly pay of an employee.
Assuming an employee works for 8 hours daily for 5 days, s/he entitled to an additional pay if s/he works beyond the required working hours per week.

Desired output:
Good day <employee's name> , your pay for this week is <pay>
Note: Items inside <> are user inputs.
 
meron ka ba sample ng pseudocode na itinuro sa inyo? medyo iba-iba kasi format niyan depende sa teacher. Yun ang gawin mong basis
 
Flowchart lang po binigay eh na sample tapos ginawa nyan Pseudocode then suddenly binigay niya tong Problem
asdasdasd.png
 

Attachments

This is what i done so far

write a pseudocode for the program to compute for the weekly pay of an employee.
Assuming an employee works for 8 hours daily for 5 days, s/he entitled to an addtional pay if s/he works beyong the required working hours per week

Start
interger p, o
name i
Print "Good day"+ i
input p, o
Print " Your pay for this week is "+ pay
if p = 100 x 40 Hours
else o = 150 x Overtime
output p
output o
End
 
This is what i done so far

write a pseudocode for the program to compute for the weekly pay of an employee.
Assuming an employee works for 8 hours daily for 5 days, s/he entitled to an addtional pay if s/he works beyong the required working hours per week

Start
interger p, o
name i
Print "Good day"+ i
input p, o
Print " Your pay for this week is "+ pay
if p = 100 x 40 Hours
else o = 150 x Overtime
output p
output o
End

That's ok for a pseudocode (minus the formatting). What else are you expecting?
 
Status
Not open for further replies.

Similar threads

Back
Top