13 lines
143 B
QBasic
13 lines
143 B
QBasic
|
dim a(2,2)
|
||
|
a(2,2)=2.5
|
||
|
dim b%(2,2)
|
||
|
b%(2,2)=3
|
||
|
mat print a
|
||
|
mat a=a-b%
|
||
|
mat print a
|
||
|
dim c$(2,2)
|
||
|
c$(2,1)="hi"
|
||
|
mat print c$
|
||
|
mat c$=c$+c$
|
||
|
mat print c$
|