You are on page 1of 11

CODE:

def Daily_Wage():

Location = int(input("SELECT REGION \n"

" Region | Basic Daily Rate \n"

"1.NCR | 512.00\n"

"2.CAR | 300.00\n"

"3. I | 310.00\n"

"4. II | 340.00\n"

"5. III | 380.00\n"

"6. IV-A | 378.00\n"

"7. IV-B | 300.00\n"

"8. V | 290.00\n"

"9. VI | 323.00\n"

"10.VII | 366.00\n"

"11.VIII | 285.00\n"

"12.IX | 296.00\n"

"13.X | 338.00\n"

"14.XI | 340.00\n"

"15.XII | 295.00\n"

"16.CARAGA | 300.00\n"

"17.ARMM | 265.00\n"

"Enter number: "))

if Location <= 0:

print("Invalid input")
Daily_Wage()

elif Location == 1:

DailyRate = 512

Monthly = (DailyRate * 30)

phil = (2.75 / 100 * Monthly)

SSS = (11 / 100 * Monthly)

Takehome = (Monthly - phil - SSS)

print()

print("Region: NCR")

print("DailyRate:", DailyRate)

print("Monthly:", Monthly)

print("Philhealth:", phil)

print("SSS:", SSS)

print("Takehome:", Takehome)

elif Location == 2:

DailyRate = 300

Monthly = (DailyRate * 30)

phil = (2.75 / 100 * Monthly)

SSS = (11 / 100 * Monthly)

Takehome = (Monthly - phil - SSS)

print()

print("Region: CAR")
print("DailyRate:", DailyRate)

print("Monthly:", Monthly)

print("Philhealth:", phil)

print("SSS:", SSS)

print("Takehome:", Takehome)

elif Location == 3:

DailyRate = 310

Monthly = (DailyRate * 30)

phil = (2.75 / 100 * Monthly)

SSS = (11 / 100 * Monthly)

Takehome = (Monthly - phil - SSS)

print()

print("Region: I")

print("DailyRate:", DailyRate)

print("Monthly:", Monthly)

print("Philhealth:", phil)

print("SSS:", SSS)

print("Takehome:", Takehome)

elif Location == 4:

DailyRate = 340

Monthly = (DailyRate * 30)

phil = (2.75 / 100 * Monthly)


SSS = (11 / 100 * Monthly)

Takehome = (Monthly - phil - SSS)

print()

print("Region: II")

print("DailyRate:", DailyRate)

print("Monthly:", Monthly)

print("Philhealth:", phil)

print("SSS:", SSS)

print("Takehome:", Takehome)

elif Location == 5:

DailyRate = 380

Monthly = (DailyRate * 30)

phil = (2.75 / 100 * Monthly)

SSS = (11 / 100 * Monthly)

Takehome = (Monthly - phil - SSS)

print()

print("Region: III")

print("DailyRate:", DailyRate)

print("Monthly:", Monthly)

print("Philhealth:", phil)

print("SSS:", SSS)

print("Takehome:", Takehome)

elif Location == 6:
DailyRate = 378

Monthly = (DailyRate * 30)

phil = (2.75 / 100 * Monthly)

SSS = (11 / 100 * Monthly)

Takehome = (Monthly - phil - SSS)

print()

print("Region: IV-A")

print("DailyRate:", DailyRate)

print("Monthly:", Monthly)

print("Philhealth:", phil)

print("SSS:", SSS)

print("Takehome:", Takehome)

elif Location == 7:

DailyRate = 300

Monthly = (DailyRate * 30)

phil = (2.75 / 100 * Monthly)

SSS = (11 / 100 * Monthly)

Takehome = (Monthly - phil - SSS)

print()

print("Region: IV-B")

print("DailyRate:", DailyRate)

print("Monthly:", Monthly)

print("Philhealth:", phil)

print("SSS:", SSS)
print("Takehome:", Takehome)

elif Location == 8:

DailyRate = 290

Monthly = (DailyRate * 30)

phil = (2.75 / 100 * Monthly)

SSS = (11 / 100 * Monthly)

Takehome = (Monthly - phil - SSS)

print()

print("Region: V")

print("DailyRate:", DailyRate)

print("Monthly:", Monthly)

print("Philhealth:", phil)

print("SSS:", SSS)

print("Takehome:", Takehome)

elif Location == 9:

DailyRate = 323

Monthly = (DailyRate * 30)

phil = (2.75 / 100 * Monthly)

SSS = (11 / 100 * Monthly)

Takehome = (Monthly - phil - SSS)

print()

print("Region: VI")

print("DailyRate:", DailyRate)

print("Monthly:", Monthly)
print("Philhealth:", phil)

print("SSS:", SSS)

print("Takehome:", Takehome)

elif Location == 10:

DailyRate = 366

Monthly = (DailyRate * 30)

phil = (2.75 / 100 * Monthly)

SSS = (11 / 100 * Monthly)

Takehome = (Monthly - phil - SSS)

print()

print("Region: VII")

print("DailyRate:", DailyRate)

print("Monthly:", Monthly)

print("Philhealth:", phil)

print("SSS:", SSS)

print("Takehome:", Takehome)

elif Location == 11:

DailyRate = 285

Monthly = (DailyRate * 30)

phil = (2.75 / 100 * Monthly)

SSS = (11 / 100 * Monthly)

Takehome = (Monthly - phil - SSS)

print()

print("Region: VIII")
print("DailyRate:", DailyRate)

print("Monthly:", Monthly)

print("Philhealth:", phil)

print("SSS:", SSS)

print("Takehome:", Takehome)

elif Location == 12:

DailyRate = 296

Monthly = (DailyRate * 30)

phil = (2.75 / 100 * Monthly)

SSS = (11 / 100 * Monthly)

Takehome = (Monthly - phil - SSS)

print()

print("Region: IX")

print("DailyRate:", DailyRate)

print("Monthly:", Monthly)

print("Philhealth:", phil)

print("SSS:", SSS)

print("Takehome:", Takehome)

elif Location == 13:

DailyRate = 338

Monthly = (DailyRate * 30)

phil = (2.75 / 100 * Monthly)

SSS = (11 / 100 * Monthly)

Takehome = (Monthly - phil - SSS)


print()

print("Region: X")

print("DailyRate:", DailyRate)

print("Monthly:", Monthly)

print("Philhealth:", phil)

print("SSS:", SSS)

print("Takehome:", Takehome)

elif Location == 14:

DailyRate = 340

Monthly = (DailyRate * 30)

phil = (2.75 / 100 * Monthly)

SSS = (11 / 100 * Monthly)

Takehome = (Monthly - phil - SSS)

print()

print("Region: XI")

print("DailyRate:", DailyRate)

print("Monthly:", Monthly)

print("Philhealth:", phil)

print("SSS:", SSS)

print("Takehome:", Takehome)

elif Location == 15:

DailyRate = 295

Monthly = (DailyRate * 30)

phil = (2.75 / 100 * Monthly)


SSS = (11 / 100 * Monthly)

Takehome = (Monthly - phil - SSS)

print()

print("Region: XII")

print("DailyRate:", DailyRate)

print("Monthly:", Monthly)

print("Philhealth:", phil)

print("SSS:", SSS)

print("Takehome:", Takehome)

elif Location == 16:

DailyRate = 300

Monthly = (DailyRate * 30)

phil = (2.75 / 100 * Monthly)

SSS = (11 / 100 * Monthly)

Takehome = (Monthly - phil - SSS)

print()

print("Region: CARAGA")

print("DailyRate:", DailyRate)

print("Monthly:", Monthly)

print("Philhealth:", phil)

print("SSS:", SSS)

print("Takehome:", Takehome)

elif Location == 17:

DailyRate = 265
Monthly = (DailyRate * 30)

phil = (2.75 / 100 * Monthly)

SSS = (11 / 100 * Monthly)

Takehome = (Monthly - phil - SSS)

print()

print("Region: ARMM")

print("DailyRate:", DailyRate)

print("Monthly:", Monthly)

print("Philhealth:", phil)

print("SSS:", SSS)

print("Takehome:", Takehome)

elif Location == 18:

print("invalid input")

Daily_Wage()

Daily_Wage()

You might also like