What code will use to the answer in else if | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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

7th Dec 2017, 1:46 PM
Kim Fugaban
Kim Fugaban - avatar
4 ответов
+ 7
Try to do it yourself first. If you have any problems, post the code here and tell us your problem.
7th Dec 2017, 2:23 PM
qwerty
qwerty - avatar
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
7th Dec 2017, 4:15 PM
Kim Fugaban
Kim Fugaban - avatar
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
7th Dec 2017, 4:17 PM
Kim Fugaban
Kim Fugaban - avatar
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
7th Dec 2017, 4:17 PM
Kim Fugaban
Kim Fugaban - avatar