question archive Rewrite the following using recursion: for (i=0; i<5; i++) cout << "Hello!n"; The counter's initial value, 0, should be the function's first call
Subject:Computer SciencePrice: Bought3
Rewrite the following using recursion:
for (i=0; i<5; i++)
cout << "Hello!n";
The counter's initial value, 0, should be the function's first call. The base case should test for the presence of 5. If so, stop without making any display.