🔒 Closed Creat a basic payroll using c# windows form

Status
Not open for further replies.
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)
 
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)
Yan po yun coding nyaa?
 
Status
Not open for further replies.

About this Thread

  • 10
    Replies
  • 975
    Views
  • 2
    Participants
Last reply from:
vhin le

Trending Topics

Online now

Members online
450
Guests online
1,933
Total visitors
2,383

Forum statistics

Threads
2,290,569
Posts
29,065,186
Members
1,212,400
Latest member
Ms_Lou07
Back
Top