Talk:Four sides of square: Difference between revisions

Content added Content deleted
(the task)
 
mNo edit summary
Line 1: Line 1:
==Task==
==Task==


In case anyone is wondering what this task actually is, it's to create a square matrix where the four edges are filled with <code>1</code>, while the interior is filled with <code>0</code>. For example, for size = 5,
In case anyone is wondering what this task actually is, it's to output a square matrix (preferably using a GUI?) where the four edges are filled with <code>1</code>, while the interior is filled with <code>0</code>. For example, for size = 5,


1 1 1 1 1
1 1 1 1 1