1. Consider the following statement in Basic
15 INPUT X, Y, Z 20 IF Y > X THEN 25 21 IF Z > Y THEN 30 25 PRINT Y 30 PRINT Z, X 35 END
IF X, Y, Z are 150, 200, 250 then the output will be
Ask Your Doubts Here
Comments
By: guest on 02 Jun 2017 01.02 am
In this case Y > X , so the control goes to 25. The output is Y , Z , X which are 200 , 250 , 150.