#include <iostream>
int main()
{
int sum = 0;
for (int i = 100; i <= 200; i++)
sum += i;
}
std::cout << "Suma liczb od 100 do 200 wynosi: " << sum << std::endl;
return 0;
" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
#include <iostream>
int main()
{
int sum = 0;
for (int i = 100; i <= 200; i++)
{
sum += i;
}
std::cout << "Suma liczb od 100 do 200 wynosi: " << sum << std::endl;
return 0;
}