Quick actions

cmd+k|ctrl+k

Navigation

Languages

Loops / while loop / Essential C++

Snippet info

Language

Cpp

Visibility

public

Author

kkowalczyk

Created

2019-03-27T06:54:06Z

Updated

2019-03-27T06:54:06Z

#include <iostream>
using namespace std;

auto main() -> int
{
    int i = 0;
    while (i < 10)
    {
        std::cout << i << " ";
        ++i;
    }
    std::cout << std::endl;
}
INFO