Q17
What is the result of 5 + 3.0 ?
A.
8
B.
8.0
AnswerC.
53.0
D.
53
Answer: Option B
Solution
Answer: Option B
Solution:
When an integer and a floating-point number are added, the result is a floating-point number.