Computer Science, asked by sanathoit21, 1 day ago

16. Write the output of the given program:- FOR A = 1 TO 5 PRINT "COMPUTER SCIENCE” NEXT A END

Answers

Answered by moodyvinamra
0

Answer:

COMPUTER SCIENCE

COMPUTER SCIENCE

COMPUTER SCIENCE

COMPUTER SCIENCE

COMPUTER SCIENCE

Answered by kumawatkachora230
0

Decide the number of rows and columns

There is a typical structure to print any pattern, i.e., the number of rows and columns. We need to use two loops to print any pattern, i.e., use nested loops. The outer loop tells us the number of rows, and the inner loop tells us the column needed to print the pattern. Accept the number of rows from a user using the input() function to decide the size of a pattern.

Similar questions