Computer scienceProgramming languagesC++Getting started with C++

Writing the first C++ program

Construct a program

Report a typo

Reorder the lines to create a valid С++ program and make indentations where it is expected to make a program look nice.

Press right arrow button to make one full indentation, left arrow button to remove one.

Reorder lines using drag or arrows. Adjust indentation with left buttons
                return 0;
              
                }
              
                #include <iostream>
              
                int main() {
              
                std::cout << "Hello, World" << std::endl;
              
___

Create a free account to access the full topic