+ 1
C++
Help Anyone know how to take off the las arrow from the loop using c++ 10 --> 20 --> 30 --> 40 --> 50 --> 60 --> 70 --> https://code.sololearn.com/cEdW0gScDxul/?ref=app
2 Answers
+ 1
for(int i = 0; i < size; ++ i )
{
std::cout << A[i];
if(i+1!=size) std::cout<< " --> ";
}
+ 1
Thanks bro