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, 23.06.2019 01:00
Let r be a robotic arm with a fixed base and seven links. the last joint of r is a prismatic joint, the other ones are revolute joints. give a set of parameters that determines a placement of r. what is the dimension of the configuration space resulting from your choice of parameters?
Answers: 3
question
Computers and Technology, 23.06.2019 06:00
Which statement is true of web-based social media? a.they allow consumers to interact with and update content. b.they cannot be updated easily, as compared to print media. c.they are expensive to produce and maintain, as compared to print and television. d.they can exist independent of the internet.
Answers: 1
question
Computers and Technology, 23.06.2019 11:30
In cell h5 enter a formula that will calculate the percentage of attendees that went to the altamonte springs job fair in 2018.
Answers: 1
question
Computers and Technology, 24.06.2019 13:50
What does code do? a creates a text box that says "solid black" b creates a black border of any width c creates a black border 1 pixel wide
Answers: 1
You know the right answer?
// A chicken farmer is expanding his coops. Each year, each chicken // produces 10 chicks. He keeps...
Questions
question
Mathematics, 23.09.2019 19:50
question
Mathematics, 23.09.2019 19:50
question
Mathematics, 23.09.2019 19:50
Questions on the website: 13722367