Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 1
Why this code isn't work?
This is my code to find the largest elements in given input from dynamical memory exercise 33.2 C++,when i run it on Dev C++5.11 it run well But when i submit it,it doesn't work This is the code https://code.sololearn.com/cmy1pLCn4eJ4/?ref=app
4 Respostas
+ 2
https://code.sololearn.com/cBhzDKRRae3T/?ref=app
+ 1
Because your for loop is wrong declarated
+ 1
Thank you so much Martin Taylor and Tomasz wilczyƱski your answers make me want to learn code more
0
Change
for(a>=0;a--;){
to
for(;a>=0;a--){