0

Initialize a matrix

I want to initialize a matrix with 6 rows and 10 columns that shows the odd cells of the matrix in green, and the even cells in yellow. In c ++, how is it done?

5th Dec 2020, 10:13 PM
Cris De Lynch
Cris De Lynch - avatar
1 Answer
+ 1
hi Cris De Lynch if you don't mind showing your attempt to this, that will make it easier for the community to help you
6th Dec 2020, 6:37 AM
āœ³AsterisKāœ³
āœ³AsterisKāœ³ - avatar