0

Hello. Why is it terminated with out of range?

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

27th Nov 2021, 7:53 AM
TeaserCode
4 odpowiedzi
+ 2
Uncomment n8 on line 131
27th Nov 2021, 9:51 AM
Solo
Solo - avatar
+ 1
What program is this @TeaserCode? It might worth to break down the code into functions rather than having all the code jammed into main(). Modular code is easier to debug.
27th Nov 2021, 8:01 AM
Ipang
+ 1
I’m not sure what the code does but you are not using any of the variables declared on line 131 that is what the error is showing
27th Nov 2021, 8:16 AM
Abdulaziz Al-Shehhi
Abdulaziz Al-Shehhi - avatar
- 1
I have found it..
27th Nov 2021, 1:44 PM
TeaserCode