int main()
{
int i = 0, suma = 0;
do {
if (i % 2 == 0)
cout << i << " ";
suma=suma+i;
}
i++;
} while (i <= 100);
" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
int main()
{
int i = 0, suma = 0;
do {
if (i % 2 == 0)
{
cout << i << " ";
suma=suma+i;
}
i++;
} while (i <= 100);
}