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
Answer: B
Computer Science & Information Technology
You might also like to view...
When a change in the data of an Excel spreadsheet is reflected in a chart that was pasted from that spreadsheet into a PowerPoint slide, the two files are said to be ________
A) joined B) linked C) coupled D) connected
Computer Science & Information Technology
The ________ function category performs tests and returns the value of the tests
Fill in the blank(s) with correct word
Computer Science & Information Technology