photo

Lama


Last seen: 6 months ago Active since 2024

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


how to create nxn matrix with main diagonal that enters odd rows/columns with zero and even ones start with 2(n+1) sequence
im trying to write a code where even main diagonal entries start off with 2 and continue 4,6,8.... etc but i only get outputs of...

7 months ago | 2 answers | 0

2

answers