void printNumbers(int startNumber, int endNumber)
{
if (startNumber > endNumber)
return;
printf("%d\n", startNumber++);
printNumbers(startNumber, endNumber);
}
{
if (startNumber > endNumber)
return;
printf("%d\n", startNumber++);
printNumbers(startNumber, endNumber);
}
No comments:
Post a Comment