#include <iostream> int main() { int sum = 0; for (int i = -100; i <= 100; ++i) sum += i; std::cout << sum << std::endl; return 0; }
To embed this project on your website, copy the following code and paste it into your website's HTML: