Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In this assignment, students will calculate the annual rate of growth needed for BZU system enrollment to reach a specified target. Create the following variable
In this assignment, students will calculate the annual rate of growth needed for BZU system enrollment to reach a specified target.
- Create the following variable to use in calculating enrollment scenarios initial_enrollment 29,933 (enrollment in 2019)
Note: The language should be C
a. We want to calculate the required annual growth rate to reach a user-specified enrollment in the year 2030. Prompt the user to enter their enrollment target for 2030. Use a loop to validate user input, asking the user to try again if the entered value is non-numeric or is not greater than 0. b. Calculate the required annual rate of growth using this formula: target enrollmentii 1 initial enrollment Print the required annual rate of growth as a percentage formatted with 1 decimal place (e.g., 5.7%). d. Print an evaluation of the required rate of growth's feasibility using the rules summarized in the table below: Rate of Growth Feasibility Less than 0% Negative growth rate At least 0% but less than 1% Reasonable growth rate At least 1% but less than 2% Ambitious growth rate At least 2% but less than 4% Very ambitious growth rate At least 4% Unreasonable growth rate C. a. We wish to project future enrollment using the calculated required growth rate. Using a loop, calculate and print the projected enrollment for each year between 2019 and 2069, inclusive. List both the year and the projected enrollment. Assume that in year 0, 2019, the enrollment was 29,933. You can calculate enrollment for the remaining years using this formula: initial enrollment x (1 + annual growth rate)yearStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started