0

Need further explanation why the output is 5

https://code.sololearn.com/cZn79l0At8xb/?ref=app

3rd Dec 2018, 1:40 PM
Jefferson Villanueva
Jefferson Villanueva - avatar
3 Respuestas
+ 1
Let's solve this using old school method with BODMAS rule in mind Given, (arr 3[arr1[0] ][arr2[arr1[8]]] ) (arr3[arr1[0]][arr2[9]]) (arr3[arr1[0]][1]) (arr3[1][1]) 5
3rd Dec 2018, 1:55 PM
Rishi Anand
Rishi Anand - avatar
+ 6
arr3[arr1[0]][arr2[arr1[8]]] arr3[1][arr2[9]] arr3[1][1] 5 // int[ ][ ] arr3 ={ {1,2,3}, //0 {4,5,6}, //1 {7,8,9}, //2 {10} //3 };
3rd Dec 2018, 1:48 PM
Rstar
Rstar - avatar
0
thank you very much
3rd Dec 2018, 1:59 PM
Jefferson Villanueva
Jefferson Villanueva - avatar