Inactive Tutor answered 05/18/20
Tutor
New to Wyzant
#include <stdio.h>
void printIt( int x)
{
if (x>1)
{
printIt(x-1);
}
printf("%d\n",x);
}
int main()
{
//printf("Hello World");
printIt(1000);
return 0;
}
Inactive Tutor answered 05/18/20
#include <stdio.h>
void printIt( int x)
{
if (x>1)
{
printIt(x-1);
}
printf("%d\n",x);
}
int main()
{
//printf("Hello World");
printIt(1000);
return 0;
}
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.