CS 110: Program 5 Enter the starting size of the population: 99 Enter their daily increase (as a percentage): 0.75 Enter the number of days the organisms will multiply: 4 Day 1 2 3 4 Population of Organisms 99 173.2 303.2 530.6 Error Checking Enter the starting size of the population: -5 Invalid. Starting size must be at least 2. Enter the starting size of the population: 1 Invalid. Starting size must be at least 2. Enter the starting size of the population: 2 Enter their daily increase (as a percentage): -1.0 Invalid. Daily increase must be non negative. Enter their daily increase (as a percentage): 1.0 Enter the number of days the organisms will multiply: -1 Invalid. Number of days must be positive: Enter the number of days the organisms will multiply: 0 Invalid. Number of days must be positive: Enter the number of days the organisms will multiply: 3 Day 1 2 3 Extra Credit Day 1: * 2: ** 3: **** Population of Organisms 2 4 8 Population of Organisms Enter the starting size of the population: 350 Enter their daily increase (as a percentage): 2.50 Enter the number of days the organisms will multiply: 3 Day 1 2 3 Population of Organisms 350 1225 4287.5 Extra Credit Day Population of Organisms 1: * 2: *** 3: ************ 20 points possible plus 1 point extra credit 10 points - Output Correctness o The program produces the correct population table values (8) o Duplicate the sample output exactly, do not make up your own words or formatting. (1) o Population values are displayed with one optional digit to the right of the decimal (1) 4 points - Error Checking o Starting population must be at least 2 organisms (1) Growth rate must be non-negative (1) Number of days must be at least 1 day (1) User is allowed to re-enter invalid input as many times at it takes to get it right (1) 2 points - Comments and Alignment o File header comments are present and complete o Single-line comments are present, helpful, and sufficient Skip a blank line before every single-line comment Generally one single-line comment is needed for every four to six lines of code o Use jGRASP Generate CSD to properly align your printout o Alignment and indentation are important. Read through the Java Style Guide for CS 110 expectations 2 points - Identifier Names o Meaningful identifier names used for all identifiers Variable names should begin with a lower case letter, and each subsequent word should start with an upper-case letter. Avoid the use of abbreviations in choosing variable names o Read through the Java Style Guide for CS 110 expectations. 2 points - Creation of Assignment Folder, File, and Printouts o Folder U:\programs\program5\ created correctly on your network U:\ drive o Java source code file saved as Population.java o Test case tables and program printout submitted correctly Write your full name and account number on your test case table 1 point - Extra Credit o A bar chart representing the growth in population of organisms is displayed below the table of values