QuestionQuestion

You will design a program to perform the following task:

Design and write a program, using functions, that calculates the area and perimeter of a rectangle whose dimensions (length and width) are provided by a user.

There are 4 components of your submission including:
• Program Description- A detailed, clear description of the program you are building.
• Analysis- Demonstrates your thought process and steps used to analyze the problem. Be sure to include the required input and output and how you will obtain the required output from the given input? Also, include your variable names and definitions. Be sure to describe the necessary formulas and sample calculations that might be needed.
• Test plan - Prepare at least 3 sets of input data (Test data) along with their expected output for testing your program. Your test data can be presented in the form of a table as follows (note: feel free to adapt to your design)
• Pseudocode- Provide pseudocode of your overall design that fulfills the requirements of the project

Example application test data:

Test Case #
Input
Expected Output

1
Length =4.0, Width=8.0
Area = 32
Perimeter = 24

Solution PreviewSolution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

1. Overview
a. Design and write a program, using functions, that calculates the area and perimeter of a rectangle whose dimensions (length and width) are provided by a user.

2. Program Description
a. The program will ask for length and width from the user
b. It will call functions to calculate area and perimeter
c. It will print area and perimeter to screen

3. Analysis
a. I will define 4 float number to store length, width, area and perimeter
b. Length and width are user’s inputs. Area and perimeter are outputs
c. I will define 2 functions to calculate area and perimeter from length and width
d. I will use 2 formulas
i. Area = length * width
ii. Perimeter = 2 * (length + width)...
$83.00 for this solution

PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

Find A Tutor

View available Assembly Language Programming Tutors

Get College Homework Help.

Are you sure you don't want to upload any files?

Fast tutor response requires as much info as possible.

Decision:
Upload a file
Continue without uploading

SUBMIT YOUR HOMEWORK
We couldn't find that subject.
Please select the best match from the list below.

We'll send you an email right away. If it's not in your inbox, check your spam folder.

  • 1
  • 2
  • 3
Live Chats