🐍 Python Quiz Help

Status
Not open for further replies.

NO NE

Forum Guru
Create a program that determines the salary of a regular employee. The inputs are rate per hour and hours_worked. The deductions include the following insurance, PAG-IBIG/SSS Contributions, loan deductions, and tax. The final output must be the take home pay of the employee.

Use the following in the program:
Input/Output
Selection and Conditional
Looping

pa help mga Paps paano to simulan mamatay nako kaka YT, basa pdf pero wala pa rin ako masimulan:(
 
Ang input jan is Salary(hours work), sample 8x(rate/hr)

Then math na yung iba.

sss = salary * 0.2
loan = salary - (loan value)
tax = salary * 0.2
deduction = sss + loan + tax
Total = Salary - deduction

Output is yung Total.

Gagana yung looping jan, if ipa input din manually yung mga sss etc. Pero use mo lang yung parang idea na e minus sya sa total salary, sana makuha mo yung idea

Take note, sample lang yung amount ng sss etc. Sa problem mo kuhain kung ilang percent yung binigay sa inyo na babawas
 
Dapat maintindihan mo muna concept ng programming..Structures, I/O, and control structures. Use your previous examples and examine which among them are appropriate to use as a reference to solve your assignment. Ganon talaga sa programming because real-world projects are not pre-determined.

Take this opportunity to learn..Someone has already provided you with the possible answer but it's your effort that leads to its solution.
 
Status
Not open for further replies.

About this Thread

  • 2
    Replies
  • 631
    Views
  • 3
    Participants
Last reply from:
vhin le

Trending Topics

Online now

Members online
990
Guests online
1,822
Total visitors
2,812

Forum statistics

Threads
2,292,826
Posts
29,079,655
Members
1,209,527
Latest member
thazky06
Back
Top