What is the expected output of the following code if the user enters 2 and 4?

What is the expected output of the following code if the user enters 2 and 4?

A . 1.0
B . 4.0
C . 2.0
D . 0.0

Answer: C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments