Questions


December 2023 1 3 Report
4.FOR i = 1 TO 4

FOR space = 1 TO 4-i PRINT"";

NEXT space

FOR j = 1 TO i

PRINT j;

NEXT j

FOR k =i-1 TO 1 STEP-1 PRINT k;

NEXT k

PRINT

NEXT i

5.FOR i = 1 TO 4

FOR space = 1 TO 4-i PRINT "";

NEXT space

FOR j = i TO 1 STEP -1

PRINT j;

NEXT j

FOR k = 2 To i

PRINT k;

NEXT k

PRINT

NEXT I

please give the outputs and explain the program by making columns for each variable and doing the corresponding calculations and also explain the programs easily​

Answers & Comments


Add an Answer


Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Helpful Social

Copyright © 2024 EHUB.TIPS team's - All rights reserved.