OUTPUTS QUESTION~ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

OUTPUTS QUESTION~

hey... can u guys tell me how to make the outputs outputs in a row... left to right.. not up to down... (Loop)

20th Sep 2016, 6:04 AM
CLouDz
CLouDz - avatar
1 Answer
+ 2
well see am not sure if am answering your question but this should be the answer from what i could assume your question was for(x=0; x<=10; x++){cout<<x;} well this code will print your no as 12345678910 in a line i hope this helps all you need to do is skip the endl(endline) or \n in your code.
20th Sep 2016, 3:33 PM
Sandeep S G
Sandeep S G - avatar