Home > Back-end >  For help
For help

Time:02-11

Have a cow, it was born in a small cows every year, every small cows from the beginning of the fourth year, at the beginning of each year also gave birth to a small cows, please programming to realize at the time of the first n years, how many cows?

CodePudding user response:

May want to use recursive functions
  • Related