// This program demonstrates a simple recursive function. #include using namespace std; // Function prototype void countDown(int); int main() { countDown(10); return 0; } void countDown(int count) { if (count == 0) //base case cout << "Blastoff!" << endl; else { cout << count << "..." << endl;; countDown(count - 1); //recursive call } return; }