Solved

If (Amount > 1000)

Question 11

Multiple Choice

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 12000?


A) 1
B) 2
C) 3
D) 4

Correct Answer:

verifed

Verified

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

Related Questions