0

Can you give me example of double array program

7th Nov 2016, 6:25 PM
Rohit Sharma
Rohit Sharma - avatar
3 Answers
+ 2
double dat[6][6]; for(int i=0;i<6;i++){ for(int j=0;j<6;j++){ dat[i][j]=0,21*i; } } for(int i=0;i<6;i++){ for(int j=0;j<6;j++){ cout<<dat[i][j]<<endl; } }
7th Nov 2016, 9:12 PM
Kukuri
Kukuri - avatar
0
a matrix will be best example for double array. int mat[6][6] : it will declare a matrix of 6x6 size. is this what you are looking for?
7th Nov 2016, 7:12 PM
Amit Gupta
Amit Gupta - avatar
0
double data type array or double array program!
11th Nov 2016, 12:04 PM
Mohammad Arif Mustafa
Mohammad Arif Mustafa - avatar