- 1
Sum even numbers from 10-100
3 ответов
+ 8
is this your homework? second question about loops in c++ with no details at all where you're stuck.
+ 6
Try to code some of it and if you can't manage, post it here and we'll help. But give it a shot first.
+ 2
int s = 0;
for (int i = 10; i <= 100; s += i, i += 2);