Back
Close

Control Flow Filter

joboc
1,195 views

Control Flow Filter

ENTER YOUR CODE HERE AND PRESS "Run"
For instance:
#include <iostream>
int main()
{
int n = 0;
for (int i = 0; i < 42; ++i)
{
if (i % 2 == 0)
{
n += i;
}
else
{
n *= i;
}
}
std::cout << n << '\n';
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io
codingame x discord
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
JOIN US ON DISCORD
Online Participants