Step through your code line by line and watch variables, function calls and output change at each step.
A clear way to understand loops and recursion, and to find bugs.
// Online C++ compiler (editor)// Write and run C++ online using this editor.#include <iostream>int main() {// Write C++ code herestd::cout << "Try clicking the Run button.";return 0;}