Ask Question

42.

Start

Get an integer, X

Get another integer, y

If x
Take y to be y-2

Else

Take x to be y*2

End If

Print x, y

Stop

If x=3 and y=7 then the output is

A 14,5

B 14, 1

C 3,5

D 3,7

+2
Answers (1)
  1. 30 May, 19:34
    0
    3,5

    Step-by-step explanation:

    y is greater than x thus 2 must be subtracted from y

    3,7-2 = 3,5
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “42. Start Get an integer, X Get another integer, y If x ...” in 📗 Mathematics if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers