The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
I'm confused how to set up the problem "ADDITIONAL EXERCISE" which involves writing algorithm for breeding bunnies.Â
Â
CS 151 - HOMEWORK 3due: Mon, 9/26/16HOMEWORK SUBMISSION POLICIES:Put allof your work, even project source code and project output, into a singlehomework document, andsubmit that document to the course website by midnight of the day that the homework is due. Put your nameat the top of that document.Make sure that the problems in your homework document are in the same order as the problems in thehomework assignment.In your homework document, make sure that you use monospace font for your project source code andproject output. The monospace font ensures that text that's supposed to be aligned stays aligned when it'sprinted. If your printed source code is not aligned properly, you will lose style points. To achieve monospacefont, highlight the relevant text, right click, and selectFont. In the Font window, search forCourier New,select it, and clickOKto apply your font selection.MANDATORY UNGRADED WORK:If you haven't done so already, print and read myHomework Assignment Guidelines – Java Programmingdocument.In addition, read from our book –Appendix 5 Java Coding-Style Conventions. You must follow the guidelines foundin those two documents. Read the documents now!REVIEW QUESTIONS (Answers to "review questions" are in the book. Do not submit answers to review questions.But please take them seriously as they are good candidates for exam questions.):Chapter 3: 1-44Submit answers for allof the following questions.EXERCISES:Chapter 3: 6, 10, 11, 16ADDITIONAL EXERCISE:Upon graduating from Park, your mother wants you to put yourICS degree to good use by having you write an algorithm thathelps out with the family’s bunny breeding business. Write apseudocodealgorithm that asks for a starting number of bunniesand then displays how many months to produce 100 bunnies andhow many months to produce 1000 bunnies. Every 3 months, thebunny population doubles. In your answer, you are required to useat least one loop.Input validation is not required. Thus, you can assume that the user enters an integer greater than 1 for the startingnumber of bunnies.
Attachments: