CODEs // WHY // EXPLAIN !?!?! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

CODEs // WHY // EXPLAIN !?!?!

for (int I= 0; I <=10; I++) cout<< I; for (int I=0; I <= 10; I++) cout << I; 0011 1100 0101 1010 !?!?!?!??!?!?!?!?+!??!+??+?!?!?!?!?!?!!!?!?!?!?!?!?!?!?!?

30th Jan 2017, 10:16 PM
Amr Monsef
Amr Monsef - avatar
2 Answers
0
if you're wondering why the first code doesn't work is because you need to use << with cout to tell the program to print to the console
30th Jan 2017, 11:00 PM
Daniel Rollins
Daniel Rollins - avatar
0
@Daniel Rollins : I edited the question , but no I don't get how the nested for loops would output this!? am still stuck im some issues
30th Jan 2017, 11:03 PM
Amr Monsef
Amr Monsef - avatar