Every recursive function should have an exit criterion (=handling the base case) to exit the recursion.
Without it, it wil recurse forever, until system resources run out (typically the call stack will overflow and your program will crash).
Answer:
5 hours 25 minutes
Explanation:
It takes 25 minutes to finish a hole
It takes 25*13 minutes to finish 13 holes
325 minutes is require to finish 13 holes
Convert 325 minutes to hours and minutes by dividing it by 60
=5 5/12 hours
Convert 5/12 hours to minutes by multiplying by 60
=25 minutes
The answer is 5 hours 25 minutes
Answer: b. 37, 40, 41, 42
Explanation:
The next four octal numbers after 36 is 37, 40, 41, 42.
The octal numeral system, which is also referred to as "oct" for short, is simply base-8 number system.
It is a number system whereby only digits from 0 to 7 are used and there are no letters or numbers that are above 8 that are used.
In this case, after 36, the next number will be 37 after which we go to 40 as we can't write 38 in the octal system. Therefore, the next four octal numbers after 36 is 37, 40, 41, 42.