CPlusPlusMatrice

Description1

calcolo la somma delle matrici e la stampo

0 1 2 3 4 5 6 7 8 

0| 3 6 7 5 3 5 6 2 9 1| 1 2 7 0 9 3 6 0 6 2| 2 6 1 8 7 9 2 0 2 3| 3 7 5 9 2 2 8 9 7 4| 3 6 1 2 9 3 1 9 4 5| 7 8 4 5 0 3 6 1 0 6| 6 3 2 0 6 1 5 5 4 7| 7 6 5 6 9 3 7 4 5 8| 2 5 4 7 4 4 3 0 7 La somma dei numeri della matrice e': 361

Description2

stampo 0 sulle diagonali e 1 sulle altre celle

0 1 2 3 4 5 6 7 8

0| 0 6 7 5 3 5 6 2 0 1| 1 0 7 0 9 3 6 0 6 2| 2 6 0 8 7 9 0 0 2 3| 3 7 5 0 2 0 8 9 7 4| 3 6 1 2 0 3 1 9 4 5| 7 8 4 0 0 0 6 1 0 6| 6 3 0 0 6 1 0 5 4 7| 7 0 5 6 9 3 7 0 5 8| 0 5 4 7 4 4 3 0 0

Description 3

la matrice con i caratteri

##option 1 :fill the matrix with random char if empty 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 0 |y v m c p j n b p b w l l s r e h f m x 1 |r k e c w i t r s g l r o e x v t j m x 2 |y p u n b q f g x m u v s g f a j c l f 3 |v e n h y u c i a o h u h o r j o s a m 4 |i b d n j d b e y h k b i s o m b l t o 5 |u u j d r b w c r r c g o b f l q p o t 6 |t p e g r w v g a j c r g w d l p g i t 7 |y d v h e d t u s i p p y v x s u v b v 8 |f e n o d q a s a j o y o m g s q c p j 9 |l h b m d a h y v i u e m k s w s d s l 10 |d e b e s n n n g p e s d n t o r r v y 11 |s u i p y w a t p f o e l t h r r o w h 12 |f e x l w d y s v s p w l k f d b l f d 13 |f u l t b w p b a r b a b i e t o l e i 14 |q h i y m m y a l c y e a s v x g g f i 15 |t k n y g y v j x n s p u b q j p p j b 16 |r l h u g e s m m x w j j l k r m g b n 17 |w v f t y v e o l p r f d c a j i u y w 18 |t v g f j r w w a a k w y p r x n x p y 19 |p j g t l h f t e e t x b a f k r e j s

##option 2: no fill the matrix with random char if empty

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 0 |
1 | o
2 | s
3 | c i a o h
4 | i
5 | o
6 |
7 |
8 |
9 | w
10 | o
11 | r
12 | d
13 | b a r b a b i e t o l e
14 |
15 |
16 |
17 |
18 |
19 |