X is an integer(X=1234).the print value of Y of the flowchart below is
a)10
b)11223344
c)4321
d)0
Attachments:
Answers
Answered by
2
Answer:
Explanation:
X is an integer (X=7531). The print value of Y of the flowchart below is
START
Read X
|
Y=0
Y=(Yx10)+(X%10)
X=X/10
X=0?
No
Yes
Print Y
STOP
a) 16
b) 77553311
c) 1357
d) o
Tut onlarte internets and sees to the execution of program instructions
Answered by
0
printing value of Y
Explanation:
after Y = 0
It enters into a loop. And loop will execute until X = 0
at X = 1234
y = 4
x = 123
at X = 123
y = 43
x = 12
at X = 12
y = 432
x = 1
at X = 1
y = 4321
x = 0
Now loop get stop.
Hence, Y = 4321
Similar questions