+ 8
can anyone tell me how to make my numbers appear on the same line when I execute in C++?? I included my code that I'm working on
coding help! c++ kerfuffle https://code.sololearn.com/cFm2DA3B7rUQ/?ref=app
5 Answers
+ 13
It looks like you're using endl which would cause them to appear on a new line.
I think this is what you mean:
int (m--), (r++), (e - s); {
cout << m << r << 4;
+ 8
@Dwight,
@Calvin,
@Ninad
Thanks for the help!!
+ 2
cout << m, cout << r, cout << 4;
+ 2
Donot write "enl" at end of cout !! It will simply print on same line. ...