Question: I need help with the following please. Assignment 1 1. The Growth Population Get initial population and years from user inputs (Use Scanner class) Every
Assignment 1 1. The Growth Population Get initial population and years from user inputs (Use Scanner class) Every 30 years (a generation), the population becomes double Output the Population Progiession (by generation) E.g., Input: 2 people and 120 years. Output: 2, 4, 8, 16, 32 Try to throw/catch exceptions . 2. The Growth of Capital Get initial capital and years from user inputs (Use Scanner class) The annual interest rate is 2.4% Output the yearly Capital progression E.g., Input: 100 and 2 years. Output: 100, 102.4, 104.8576 Try to throw/catch exceptions tates)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
