Create a two-dimensional array at runtime: Difference between revisions

Content deleted Content added
m Spelling/grammar/aesthetics
Added BASIC example.
Line 26:
end Two_Dimensional_Arrays;
 
=={{header|BASIC}}==
'''Compiler''': [[QuickBasic]] 4.5
CLS
INPUT a, b 'inputs need to be separated by commas
DIM array (1 TO a, 1 TO b)
array(1,1) = 42
PRINT array(1,1)
ERASE array
 
=={{header|C++}}==