Solved

If (Amount > 1000)

Question 51

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, w hat is stored in result when amount is equal to 14?


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

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