What's new

Python Quiz Help

Status
Not open for further replies.

NO NE

Eternal Poster
Established
Joined
Jul 18, 2019
Posts
1,486
Solutions
2
Reaction
427
Points
498
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
 
Last edited:
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.

Similar threads

Back
Top