Jump to content

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

Added BBC BASIC
(Added BBC BASIC)
Line 107:
PRINT array(1,1)
ERASE array
 
=={{header|BBC BASIC}}==
<lang bbcbasic> INPUT "Enter array dimensions separated by a comma: " a%, b%
DIM array(a%, b%)
array(1, 1) = PI
PRINT array(1, 1)</lang>
 
=={{header|C}}==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.