if (amount > 1000) result = 1;else if (amount > 500) result = 2; else if (amount > 100) result = 3; else result = 4;
Using the above code segment, what is stored in result when amount is equal to 876?
A. 1
B. 2
C. 3
D. 4
Answer: B
Computer Science & Information Technology
You might also like to view...
Though tweets are usually text, there are ways for users to add links to their tweets by using the # sign
Indicate whether the statement is true or false
Computer Science & Information Technology
Which of the following can achieve authentication?
A. Intrusion detection systems B. Log files C. Auditing D. Tokens
Computer Science & Information Technology