#include
int main()
{
//3
int s = 0;
for (int i = 1; i < 100; ++i)
if (!(i % 2)) s += i;
std::cout << s << std::endl;</span>
//4
int p = 1;
for (int i = 1; i < 10; ++i)
p*= i;
std::cout << p << std::endl;</span>
//5
s = 0;
p = 1;
for (int i = 1; i < 10; ++i){
if (!(i % 2)) s += i;
p *= i;
}
std::cout << s << " " << p << std::endl ;</span>
//6
p = 1;
for (int i = 1; i < 10; ++i)
p += i*i;
std::cout << p << std::endl;</span>
//7
s = 0;
for (int i = 1; i < 100; ++i)
if ((i % 2)) s += i;
std::cout << s << std::endl;<br>
return 0;
}