Computer Science, asked by yassir5, 10 months ago

5. int salary =6000,
PREDICT THE OUTPUT
if salary> 20000)
Bonus=15*salaryl/100;
else
Bonus={4'salary)/100;
System.out.println(Bonus);

Answers

Answered by Queen224149
1

since \: salary < 20000 \\ so \: bonus =  \frac{4 \times salary}{100 }  \\  =  \frac{4 \times 6000}{100}  \\  = 240

Answered by tausifsiyaan
1

Answer:

bonusA=[4salary]/100;

system. out. printh (bonus) 25

Similar questions