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 19:30
When using a public computer or network, you should always
Answers: 2
question
Computers and Technology, 23.06.2019 10:00
Hey i just logged on and one of the moderators deleted a bunch of my answers to questions, even though the answers were right and the people it doesn't make sense but if anyone wants to talk about anything just message me lol (this is super random lol)
Answers: 1
question
Computers and Technology, 23.06.2019 23:00
Computer programming is one type of what career
Answers: 1
question
Computers and Technology, 24.06.2019 09:30
What is the definition of digital literacy?
Answers: 1
You know the right answer?
// A chicken farmer is expanding his coops. Each year, each chicken // produces 10 chicks. He keeps...
Questions
Questions on the website: 13722361