Design a program to perform the following task: Write a program using functions, that calculates the area and perimeter of a rectangle whose dimensions (length& width) are provided by a user.
Provide you analysis for the previous statement above. The analysis should be clearly written and demonstrate your thought process and steps used to analyze the problem. Include what is the required output?
What is the necessary input & how you will obtain the the required output from the given input? also include your variable names & definitions, Describe an necessary formulas & sample calculations.
Provide your program design for the problem analyzed for calculating and displaying the area and perimeter of a rectangle. Always work for modular design where possible. Be sure to use separate functions for calculating the area and & perimeter of the rectangle. other subprograms for Input & output should be included as needed. Be sure to describe the fundamental tasks (i.e., things your program must do) needed to solve the problem o you can use a modular design. provide pseudocode of your overall design that included the Main Module and the order of the module calls, and a Hierarchy chart for the program (see figure 3.8 pg. 148). Finally display the flow charts (using Raptor, or your favorite graphics editor) for each module. (See figure 5.3 pg 225 as an example. Include Header and step comments in your pseudocode, using a similar approach as the example. Prepare at least 3 sets of input data (test data) along with expected output for your testing your program. assignment should be saved as Word document.