Question: If x = 1 0 and y = 8 , what will be displayed after the following statements have been executed? if x mod y

If x =10 and y =8, what will be displayed after the following statements have been executed?
if x mod y < y \ x then
display 1
else
if x + y <> x *22 then
display 2
else
if x /2> y \2 then
display 3
else
if x > y +2 then
display 4
else
display 5
endif
endif
endif
endif
a.
2
b.
4
c.
3
d.
1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!