Search found 1 match

by sanall
Sat Apr 20, 2002 5:19 pm
Forum: QBasic / QuickBasic related
Topic: problem in dealing with matrix
Replies: 0
Views: 1916

problem in dealing with matrix

I have difficulties in dealing with some matrixes.The problem are :
1.I have a n*n matrix marked as A,and A follows the regularity:if I input n=3,the A should be:
1 0 0
2 6 0
3 4 5 ,
when n=4,A should be:
1
2  9
3 10  8
4  5   6  7,
and when n=5,A=
1
2 12
3 13 11
4 14 15 ...