Computer Science, asked by asosingh, 4 months ago

8) What will be the output of the algorithm given below?
START
Read numbers X=5
X=Y
Y=Xx10+Y%2
Print Y
STOP
O a) 51
Ob) 52
O c) 50
Od) Compilation error​

Answers

Answered by komal7594
4

Answer:

bbjjkjhbcchjjkkkkkkjjkk

Answered by priyarksynergy
0

The correct answer is option (a) 51.

Explanation:

  • The output of the algorithm given below will be 51:
  • START Read numbers X=5 X=Y Y=Xx10+Y%2
  • As, 5 × 10 + 5% 2.
  • Gives, 50 + 1,
  • Which is equal to 51.
  • Hence, the correct answer is option a i.e 51.
Similar questions