+ 3

What is output this code? (C++)

int S = 2; for(int x = 0; x<=10; x = x + 2){ S = S + x; }

3rd Jan 2018, 4:47 PM
Назік Демчук
Назік Демчук - avatar
2 Answers
+ 6
nothing, there no cout anywhere 😁
3rd Jan 2018, 4:57 PM
Vukan
Vukan - avatar
+ 3
thanks for your watching and answer)
3rd Jan 2018, 5:01 PM
Назік Демчук
Назік Демчук - avatar