0

I have an error on my code i don't find an answer, please help.

Please help me, the for statement does not execute. https://code.sololearn.com/c9GOGDrU3k1M/#cpp

29th May 2020, 2:09 AM
Oscar Ramírez Díaz
Oscar Ramírez Díaz - avatar
6 Respostas
30th May 2020, 8:36 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
0
read the error, it says variable exp did not declared in line 17
29th May 2020, 3:31 AM
Zia sahebi
0
Besides from that, it still doesn't execute the for
29th May 2020, 3:32 AM
Oscar Ramírez Díaz
Oscar Ramírez Díaz - avatar
0
I changed every exp to exp1 and it worked
29th May 2020, 3:33 AM
Zia sahebi
0
I've done it too but the for inside the if still doesn't execute
29th May 2020, 3:36 AM
Oscar Ramírez Díaz
Oscar Ramírez Díaz - avatar
0
try an input like this (in write input section) : "10 10 1 10 10 10"
29th May 2020, 3:49 AM
Zia sahebi