Frage
Antwort
int c = 0;
for (int i = 0; i <= 50; i += 5)
{
c = c + i;
cout << i << endl;
if (i == 50)
{
cout << c << endl;
}
}