Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Program Description- A detailed, clear description of the program you are buildi

ID: 3770491 • Letter: P

Question

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

All of these components can be placed in word document.

Example application test data:

Test Case #

Input

Expected Output

1

Room1: length=10, width=14;
Room 2: length=9, width=10;
Room 3: length=12, width=12;

374 square feet

2

Your room dimensions

Your output

3

Your room dimensions

Your output

C code Should be pseudocode. (BEGIN AND END)

Thank You for your help

Test Case #

Input

Expected Output

1

Room1: length=10, width=14;
Room 2: length=9, width=10;
Room 3: length=12, width=12;

374 square feet

2

Your room dimensions

Your output

3

Your room dimensions

Your output

Explanation / Answer

#include<stdio.h>

#include<conio.h>

struct HouseArea

{

int length;

int width;

};

int main()

{

int r;

int length ,width;

int area=0;

struct HouseArea a1;

printf(“enter the number of rooms”);

scanf(“%d”,&r);

for(int i=1;i<=r;i++)

{

printf(“enter the length and width of the room”);

scanf(“%d %d”, &length,&width);

area=area+ (length * width);

}

printf(“the area is: %d”, &area);

getch();

}

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at drjack9650@gmail.com
Chat Now And Get Quote