What's the output ,c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What's the output ,c++

#include <iostream> using namespace std; int main() { for (int i = 1; i <= 10; ++i) { if ( i == 6 || i == 9) { continue; } cout << i << "\b"; } return 0; }

29th May 2020, 7:41 PM
ahmad aramb
ahmad aramb - avatar
5 Answers
+ 3
ahmad aramb click https://code.sololearn.com/chN8cL3ISbU0/?ref=app And press RUN and enjoy output :)
29th May 2020, 7:45 PM
Petr
+ 3
29th May 2020, 7:49 PM
Petr
+ 3
Tho answer is 1 2 3 4 5 7 8 10 And 10 is the answer
29th May 2020, 7:53 PM
Abhay
Abhay - avatar
+ 2
Click on your profile ,you will see code bits there ,then click on + sign and choose a language to find out the answer yourself:-)
29th May 2020, 7:43 PM
Abhay
Abhay - avatar
0
Why dont make back slach
29th May 2020, 7:47 PM
ahmad aramb
ahmad aramb - avatar