0

Not understand this code

#include <iostream> using namespace std; int main() { for(int i = 0; i<8;i++){ if(i == 2) { i++; continue; } else if(5 * i == 20)break; else cout << 5 * i; } return 0; }

18th Jan 2019, 12:35 PM
Saad Saleem
Saad Saleem - avatar
3 odpowiedzi
+ 3
Tracing the changes by printing out intermediate results. A demo for you: https://code.sololearn.com/comxwPCtFoYq/?ref=app
19th Jan 2019, 5:21 AM
Gordon
Gordon - avatar
+ 1
These are some 5-question challenge questions? You put it in code playground, then use the + button beside send button to post the link here, Then I'll teach you how to work out the process yourself
18th Jan 2019, 12:52 PM
Gordon
Gordon - avatar