Print the pattern in Qbasic:
1+(1+3) +(1+3+5).... Upto n terms.
Answers
Answered by
0
Answer:
CLS
N# = 1
FOR I = 1 TO 5
PRINT N# * N#
N# = (N# * 10) + 1
NEXT I
END
Similar questions