main.cpp

Click on RUN button to see the output