Consider the following code segment. [Begin Block] Line 1: I…
Consider the following code segment. [Begin Block] Line 1: IF [begin block] x is greater than y [end block] [begin block] Line 2: [begin block] DISPLAY [begin block] x plus y [end block] [end block] [end block] Line 3: ELSE [begin block] Line 4: [begin block] DISPLAY [begin block] x minus y [end block] [end block] [end block] [End Block] If the value of x is 3 and the value of y is 5 , what is displayed as a result of executing the code segment?
Read Details