Give your analysis for the following problem statement: You require to write a program that calculates the area and perimeter of a rectangle whose dimensions (Length &width) are given by a user.
Your analysis should be clearly written and demonstrate your thought process and steps used to analyze the problem. Be sure to contain what is the needed output? What is the essential input and how you will obtain the neededcoutput from the given input? Also, contain your variable names and definitions. Be sure to define any necessary formulas and sample calculations.