Question: Complete findGrowth ( ) ' s recursive case: If count > = 2 5 0 , call findGrowth ( ) to compute the next week's

Complete findGrowth()'s recursive case:
If count >=250, call findGrowth() to compute the next week's count as the current week's count plus 10.
Otherwise, call findGrowth() to compute the next week's count as the current week's count plus 30.
Ex: If the input is 230, then the output is:
week: 1, count: 230
week: 2, count: 260
week: 3, count: 270
week: 4, count: 280
week: 5, count: 290
End of study

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!