🔒 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 Problemasdasdasd.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
  • 567
    Views
  • 4
    Participants
Last reply from:
pixkit

Trending Topics

Online now

Members online
1,202
Guests online
1,874
Total visitors
3,076

Forum statistics

Threads
2,293,166
Posts
29,082,100
Members
1,208,692
Latest member
meladrian18
Back
Top