0
What is the output?
int x=1; for(int i=3;i>5;i++){ x+=i; } cout<<x;
4 Respostas
+ 3
1. cuz, The loop will not process the statement
+ 1
1
0
I think it was only "<" at the for sintax. The solution is 1+3+4=8.
0
1
int x=1; for(int i=3;i>5;i++){ x+=i; } cout<<x;