Computer Science, asked by 264alexanderdevgupta, 1 day ago

give the output of x=5 FOR Y =1 to 5 x=x*3 PRINT "x=";x NEXT Y End​

Answers

Answered by scstricks
0

Answer:

y = 15

Explanation:

for(1)

{

  X = 5 // FOR 1 GENERALLY INFINITE LOOP.. BUT IN CASE OF Y = 1 IT ONLY EXICUTES ONE TIME;

}

x=x*3

X = 5*3

15

x NEXT Y

Y = 15

Similar questions