What will be displayed when the following program segments are executed?
1. input x
2. if x > 5 then print x
3. if x<=5 then print (x+5)
4. if (x*3) > 15 then print (x*3)
5. end
Answers
Answered by
1
Answer:
if x = 6
output
6
18
if x = 4
output
9
Similar questions