๐Ÿ”’ Closed Pseudocode

Status
Not open for further replies.

Xyrions

Journeyman
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.webp
 
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.

About this Thread

  • 6
    Replies
  • 559
    Views
  • 4
    Participants
Last reply from:
pixkit

Online now

Members online
1,011
Guests online
692
Total visitors
1,703

Forum statistics

Threads
2,276,969
Posts
28,973,413
Members
1,229,670
Latest member
Hyuga000
Back
Top