Q. What will be the content of num, after code execution; if before code execution num has value 1000?

Code:
If num<=100
    num=num*2;
ElseIf num>500
   Num=num*3;
Endif
  • (A) 0
  • (B) inventory(4).Product.intQuantity = 100
  • (C) 3000
  • (D) 2000
πŸ’¬ Discuss
βœ… Correct Answer: (C) 3000

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
129
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Bhagwan Das
Publisher
πŸ“ˆ
99%
Success Rate