+ 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

7th Jul 2022, 5:21 PM
JRAMAHES
JRAMAHES - avatar
2 Answers
+ 1
for(int i = 0; i < size; ++ i ) { std::cout << A[i]; if(i+1!=size) std::cout<< " --> "; }
7th Jul 2022, 5:25 PM
Jayakrishna šŸ‡®šŸ‡³
+ 1
Thanks bro
7th Jul 2022, 5:50 PM
JRAMAHES
JRAMAHES - avatar