Question: Please write an easy and simple code in C++ for this project below, thank you, much appreciated. Solar Panel Generation Simulation Ask the user to
Please write an easy and simple code in C++ for this project below, thank you, much appreciated.

Solar Panel Generation Simulation Ask the user to type in the size of their solar array, between 10-25 panels. Store each panel as an element of an array of doubles. Ask the user what season of the year in which they would like to run their simulation: Winter, Spring, Summer, Autumn Ask the user to select the length of time that they would like to run their simulation for; 1 month to 4 months The sun is up every day, no weather is being simulated. Each month has 30 days. The sun is up for 6 hours in Winter, 8 hours in Spring, 12 hours in Summer, and 9 hours in Autumn Each panel is (100-panel#)% efficient when the sun is up and will generate 200 Watt-hours (WH) of energy. Example: Panel 1 is (100-1)=99% efficient Panel 5 (100-5) 95% efficient. Output to the user: The initial user selections: Array size, Season, Length of time simulation was run. o The total energy generation of the full array for the time period identified (Months/season). o Output the total energy generation per panel, example: Panel 1: 20kWh, Panel 2 18kWh and so on. o Output the total efficiency of the solar array (All panel's efficiency added together, and then divided by # of panels) O
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
