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

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:00
11. is the ability to understand how another person is feeling. a. authority b. sympathy c. empathy d. taking a stand
Answers: 1
question
Computers and Technology, 22.06.2019 16:30
You have inserted new slides based on a word outline. how do you format these new slides to match the powerpoint presentation formatting? a. select all slides in the presentation and click format on the home tab. b. select the new slides and click reset on the home tab. c. select all slides in the presentation and click reset on the home tab. d. select the new slides and click format on the home tab.
Answers: 2
question
Computers and Technology, 22.06.2019 23:20
How can you tell if someone sent you a text message to your email instead of a email
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
Select the correct answer. andre was recently hired by an organization to check for system vulnerabilities. he is supposed to exploit these vulnerabilities and create a report on the extent of damage to which the system was susceptible. what position does andre hold in this organization? a. information security analyst b. information assurance manager c. penetration tester d. network security engineer e. chief information security officer
Answers: 2
You know the right answer?
// A chicken farmer is expanding his coops. Each year, each chicken // produces 10 chicks. He keeps...
Questions
question
Mathematics, 27.03.2020 05:59
question
Mathematics, 27.03.2020 05:59
question
Biology, 27.03.2020 05:59