+ 1

1<br> 2 5<br> 3 6 8<br> 4 7 9 10 how to print in "++

pls teach about the quesion

31st May 2018, 3:46 PM
Preet Aman
Preet Aman - avatar
3 odpowiedzi
+ 3
Maybe this is what you are looking for. https://code.sololearn.com/cwFGjgN25Umj/?ref=app
31st May 2018, 5:34 PM
Louis
Louis - avatar
+ 1
I am guessing you want to print 1-10. so heres a simple code: //////////////////////////////////////////////// #include <iostream> using namespace std; int main() { for(int i=1;i<11;i++) cout << i << endl; }
31st May 2018, 5:35 PM
Sadnan Rashid
Sadnan Rashid - avatar
0
You don't use <br> in c++! Post some more infos.
31st May 2018, 5:32 PM
Sadnan Rashid
Sadnan Rashid - avatar