Multiple Choice
What will be the value of ans after the following code has been executed?
Int ans = 10;
Int x = 65;
Int y = 55;
If (x >= y)
Ans = x + y;
A) 10
B) 120
C) 100
D) No value, there is a syntax error.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q27: Programs never need more than one path
Q54: What would be the value of discountRate
Q55: What is the value of x after
Q56: What does the following code display?<br>Int d
Q57: This is a boolean variable that signals
Q59: The switch statement is a:<br>A) Multiple alternative
Q60: The _ statement is used to make
Q61: Enclosing a group of statements inside a
Q63: What will be printed when the following
Q64: An important style rule you should follow