+ 2

Why this program show thread main exception??? Can anyone xplain me??

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

2nd Jul 2018, 2:06 PM
Harsh Agrawal
Harsh Agrawal - avatar
5 Answers
+ 5
Harsh Agrawal these type of exception come when you go out of the array size for(int i=8; i>0; i--) from this part
2nd Jul 2018, 2:31 PM
Arun Tomar
Arun Tomar - avatar
+ 6
welcome bro Harsh Agrawal
2nd Jul 2018, 4:31 PM
Arun Tomar
Arun Tomar - avatar
+ 2
thnxzzzz Arun Tomar
2nd Jul 2018, 2:53 PM
Harsh Agrawal
Harsh Agrawal - avatar
0
done COTD
5th Jul 2018, 10:03 PM
Serigne Fallou DIAGNE
Serigne Fallou DIAGNE - avatar
- 1
getting same problem in most codes
21st Jul 2018, 9:13 AM
Vivek Mishra
Vivek Mishra - avatar