Anonymous user
Create a two-dimensional array at runtime: Difference between revisions
Create a two-dimensional array at runtime (view source)
Revision as of 03:16, 23 February 2016
, 8 years agono edit summary
(C++: explicit value returned) |
No edit summary |
||
Line 1,791:
· · · · · 30~6 · 30~8 30~9 · · · · · ·
</pre>
=={{header|Ring}}==
<lang ring>
See 'Enter width : ' give width
See 'Enter height : ' give height
width=0+width
height=0+height
aList = list(height) for x in aList x = list(width) next
aList[1][2] = 10
See aList[1][2] + nl
</lang>
=={{header|Ruby}}==
|