Solved

A Company Issues $5,000

Question 60

Multiple Choice

A company issues $5,000.00 bonuses at the end of the year to all employees who earn less than $100,000.Salary and bonus are both defined as double data types.Which of the following selection statements would assign the correct amount to bonus?


A) if (salary < $100,000)
Bonus == $5000;
B) if (salary < 100000)
Bonus = 5000;
C) if (salary <= 100000)
Bonus = 5000;
D) if (salary < 100000) ;
Bonus = $5000;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents