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...
In the shell sort, a list of N elements is divided into K segments, where K is known as the ____.
A. degree B. segmentation factor C. increment D. index
Computer Science & Information Technology
You can delete comments, but you cannot edit them.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology
By default, new blank workbooks include ____ worksheet(s).
A. zero B. one C. two D. three
Computer Science & Information Technology
Which of the following individuals or groups is vested by the Board of Directors with the authority to make decisions related to disaster preparation, response, and recovery?
A) Chief Operating Officer B) IT department C) Department managers D) Business Continuity Team
Computer Science & Information Technology