0
What code will use to the answer in else if
i need it for the formula to get the totality of salary the if statement is hrs time and get their bonus
4 Answers
+ 7
Try to do it yourself first. If you have any problems, post the code here and tell us your problem.
0
the first problem is to know what is the
salary
salary = timeworked* hrs rate
if the bonus is
hr> 40 you have 500 bonus
hr>=20 you have 250 bonus
hr=10 you have 150 nbonus
display the total amount of your salary
total amoun of salary = salary+bonus
0
the problem is i dont know how to interpret the anwer in else if so that i can solve the total amount of salary
0
the problem is i dont know how to interpret the anwer in else if so that i can solve the total amount of salary