jeudi 21 janvier 2016

I need a c or c++ program to print a matrix [on hold]

I'm trying write code print a matrix as shown below

if i'm giving input 3

1*2*3*
7*8*9*
4*5*6*

if input 4

1*2*3*4*
9*10*11*13*
14*15*16*17*
5*6*7*8*

Help me solve this

Aucun commentaire:

Enregistrer un commentaire