format tags

what kind of tags, how do I frame this code so that it displays with the correct
indentations making it easier to read????
#include <iostream>
using namespace std;

void recursive_countdown(int count)
{
if (count == 0)
cout << "count=" << count << endl;
else
{
cout << "count=" << count << endl;
recursive_countdown(--count);
}
}


int main(void)
{
int count = 10;

recursive_countdown(count);

return 0;
}
[/code]place ur code here[code] (but the tags in reverse)
Often it wont 'paste' the way u'd like it to from the clipboard depending on the IDE u use so u may have to manually type the spaces (3) for indentation sometimes....
Last edited on
Topic archived. No new replies allowed.