Position type and their corresponding rate? kulang kasi details
Yung design po kaya na kaso sa coding sobrang nakakalitoMukhang ok naman na ah..ano ba concern mo? I mean, Ouput mo na ba yan o expected output plang?
GET Employee Name
Get Position
IF Position = 1
Monthly = 20000
ELSE IF Position=2
Monthly = 15000
ELSE
Monthly = 10000
DISPLAY Monthly
COMPUTE
PerHour = MOnthly/22/8
GET LateHrs
COMPUTE
LateAmount = LateHrs X PerHour
Get Overtime
COMPUTE
OvetimePay = Overtime X (PerHour * 1.25)
TOTAL = Monthly + OvertimePay - LateAmount
Listbox.items.Add(x,x,x,x)
Yan po yun coding nyaa?PSEUDOCODE:
Code:GET Employee Name Get Position IF Position = 1 Monthly = 20000 ELSE IF Position=2 Monthly = 15000 ELSE Monthly = 10000 DISPLAY Monthly COMPUTE PerHour = MOnthly/22/8 GET LateHrs COMPUTE LateAmount = LateHrs X PerHour Get Overtime COMPUTE OvetimePay = Overtime X (PerHour * 1.25) TOTAL = Monthly + OvertimePay - LateAmount Listbox.items.Add(x,x,x,x)
Thank you poPseudocode lng po..kaw na transalate sa C#...Algorithm lng yan...![]()