To display the pattern. (Qbasic Code)
1 2 3 4 5
2 4 6 8 10
3 6 9 12 15
4 8 12 16 20
5 10 15 20 25
1 2 3 4 5
2 4 6 8 10
3 6 9 12 15
4 8 12 16 20
5 10 15 20 25
- CLS
FOR i = 1 TO 5
FOR j = 1 TO 5
x = i * j
PRINT x;
NEXT j
PRINT
NEXT i
END