Question: For the pseudo-program below, assume that variables x and y hold integers. X = 15 y = 15 if (x>y) then print x if (y>x)

For the pseudo-program below, assume that variables x and y hold integers. X = 15 y = 15 if (x>y) then print x if (y>x) then print y The output of the program will be: (Nothing, the code segment does not generate any output) 15 15 15 Question 7 1 pts For the pseudo-code program below, assume that variables x, y and z hold integers. X = 10 y = 5 z = x + y if (x>y) then print z if (y>x) then print (z + x + y) The output of the program will be: 20 O 15
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
