subject

// A chicken farmer is expanding his coops. Each year, each chicken // produces 10 chicks. He keeps half of all the chicks born that year // to increase the number of chickens he has. Furthermore, suppose // that approximately 1/4 of the chickens die every year (rounded down // -- e. g. if there are 6 chickens, 1 chicken dies). Write a function // that takes the starting number of chickens, a number of years and // returns how many chickens the farmer has at the end of that year. // // You may use loops or recursion. int numChickens(int startChickens, int num Years);

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 22:30, raiapowell
I'll mark brainliest if answered right! with which feature or menu option of a word processing program can you make an image like this? you can get this image using the option of a word processing program.
Answers: 1
image
Computers and Technology, 23.06.2019 17:30, kenyasutton10
What are the most commonly found items in the trash according to the municipal solid waste report?
Answers: 1
image
Computers and Technology, 23.06.2019 20:30, batmandillon21
1. for which of the following are you not required to signal beforehand? a. changing lanes b. speeding up c. stopping
Answers: 2
image
Computers and Technology, 23.06.2019 23:30, econsta3
Perform an online search about the booting process of a computer and list all the steps
Answers: 2
You know the right answer?
// A chicken farmer is expanding his coops. Each year, each chicken // produces 10 chicks. He keeps...

Questions in other subjects:

Konu
Chemistry, 08.04.2020 15:58