979 WordsJan 25, 20154 Pages

Homework-1: "Calculate the usable area in square feet of a house with four rooms"
By
Khaled Mamun
CMIS 102: Introduction to Problem Solving and Algorithm Design
Spring-2015, Section-6393
Dr. Babajide Olatunbosun
Due Date: 25 Jan-2015
1. Problem / Overview:
Calculate the usable area in square feet of house. Assume that the house has a maximum of four rooms, and that each room is rectangular in shape.
2. Program Description:
This program will determine the total usable area of a house in square feet. Following rules apply:
1. The house has four rectangular rooms
2. Each room is different in size
3. Calculate the area of each room separately
4. Add areas of all four rooms to figure out the total usable area of the house
3. Analysis:
1. Square feet of rectangular area = (width X length) or (width * length)
2. This program will use the following input variables for each room:
W: Width
L: Length
A: Area
3. Rectangular area for Room-1:
a. Following command will be executed to find the value of the designated variable: A1 = L1 * W1
4. Rectangular area for Room-2:
a. Following command will be executed to find the value of the designated variable: A2 = L2 * W2
5. Rectangular area for Room-3:
a. Following command will be executed to find the value of the designated variable: A3 = L3 * W3
6. Rectangular area for Room-4:
a. Following command will be executed to find the value of the designated variable: A4 = L4 * W4
7. Total usable area for House:
a. Following command will be executed to find the value of the designated variable: Sum = A1 + A2 + A3 + A4
4. Design / Pseudocode:
// Square Feet of a 4-Room House Program
// This program computes the square feet of a 4-room house
// Variables used:
// Width of room 1, W1
// Length of room 1, L1
// Width of

Related

## Calculate the Usable Area in Square Feet of House. Assume That the House Has a Maximum of Four Rooms, and That Each Room Is Rectangular. Essay

1108 Words | 5 Pagesperform the following task: Calculate the usable area in square feet of house. Assume that the house has a maximum of four rooms, and that each room is rectangular. I. Problem Analysis A.) To find the usable area in square feet of a house, what are the necessary Input needed to solve the problem? -Must declare each room or else the program won’t know which measurements belong to what room for example RoomWidth1 and RoomLength1 will correspond to the length and width of Room One -Must use the command

## Calculate Square Feet of a House Essay

556 Words | 3 Pages• Analysis I need to calculate the usable area in square feet of a house that has a maximum of four rectangular rooms. The required output will be the total amount of usable square feet, SqFeet (float variable). The required input will be the length, Length (float variable), Width (float variable), and the name of the specific room, Rm1, Rm2, Rm3, and Rm4, which will be string variables. The user will have to input the length and width of each individual room, which Length x Width will equal

## Cmis102 Assignment 1 Essay

924 Words | 4 PagesNov 2013 Problem definition: Calculate the usable area in square feet of house. Assume that the house has a maximum of four rooms, and that each room is rectangular. A. Problem Analysis – [Following the directions in the assignment, clearly write up your problem analysis in this section.] In this case, we need to compute the usable area in square feet of a four room house. Assuming all four rooms are rectangular, we will calculate the total sum of each room areas by length and width. 1. Required

## Cmis102 Assignment1 Essay

1055 Words | 5 PagesTask definition: Calculate the usable area in square feet of house. Assume that the house has a maximum of four rooms, and that each room is rectangular. Program development cycle: Analysis: Write a program that will calculate the total usable area of a four bedroom home that are rectangular. The program will need to calculate the dimensions of each bedroom in square feet and combine them for a total area of the home. Outputs: TotalHomeArea- This is the name of the variable that will be

## Cmis 102 Assignment 1 Essay

527 Words | 3 Pagesdefinition: Calculate the usable area in square feet of house. Assume that the house has a maximum of four rooms, and that each room is rectangular. A. Problem Analysis – Following the directions in the assignment, clearly write up your problem analysis in this section. • In writing this program I am trying to calculate the number of square feet in a 4-room house. In doing this we need to output these values: - SquareFt1: The total square footage of room 1 - SquareFt2: The total square footage

## Problem Analysis

1034 Words | 5 PagesHomework 1: Calculate the usable area in square feet of house. Assume that the house has a maximum of four rooms, and that each room is rectangular. 1) Problem analysis My program is designed to compute the area of a house composed of 3 rectangular rooms. For this problem, I will need to output the value of the total area of the house after finding and adding the areas of each room. I will define the output and input variables for this to be possible. First I will need to output the value of the

## Calculate the Usable Area in Square Feet of House Essay

480 Words | 2 PagesStatement: Calculate the usable area in square feet of house. Assume that the house has a maximum of four rooms, and that each room is rectangular. 2. Analysis: What is the square feet of the 4-room house? Square feet of a rectangular area= width x length a. The necessary input will be the width and length of each room. Below are the variable names and definitions: b. The required output is: the sum of the square feet of the 4 rooms, which will be the total house square feet (shown below):

## Calculate the Usable Area in Square Feet of House Essay

1081 Words | 5 Pagesdefinition: Calculate the usable area in square feet of house. Assume that the house has a maximum of four rooms, and that each room is rectangular. B. Problem Analysis For this problem, we need to output the value of the following variables: The square footage of the first room in the house, Area1 (a Float variable) The square footage of the second room in the house, Area2 (a Float variable) The square footage of the third room in the house, Area3 (a Float variable) The square footage

## Calculate Usable Area of House Essay

379 Words | 2 PagesHomework 1 – Calculate the Usable Area in Square Feet of a House I need a program that will calculate the square feet of each of four rooms. The result of those calculations will be combined to show the total square feet of the house. I will need to output the values of the following variables: * The name of the room being calculated, RoomName (a string variable) * The area of the room, TotalArea (a Float variable) * The total area of the house, HouseTotal (a Float variable) The inputs

## Cmis 102 Introduction to Problem Solving and Algorithm Design Essay

532 Words | 3 PagesCMIS 102 Introduction to Problem Solving and Algorithm Design Section Professor: Due date: August 30, 2015 Homework 1 Program Description: This program will calculate the usable area in square feet of a house. The house will have a maximum of four rooms, and each room is rectangular. Once the calculations of the rooms are made, the results of all the calculations will be printed to the output screen. Analysis: We will use sequential programming statements. We will define 3 integer numbers:

### Calculate the Usable Area in Square Feet of House. Assume That the House Has a Maximum of Four Rooms, and That Each Room Is Rectangular. Essay

1108 Words | 5 Pages### Calculate Square Feet of a House Essay

556 Words | 3 Pages### Cmis102 Assignment 1 Essay

924 Words | 4 Pages### Cmis102 Assignment1 Essay

1055 Words | 5 Pages### Cmis 102 Assignment 1 Essay

527 Words | 3 Pages### Problem Analysis

1034 Words | 5 Pages### Calculate the Usable Area in Square Feet of House Essay

480 Words | 2 Pages### Calculate the Usable Area in Square Feet of House Essay

1081 Words | 5 Pages### Calculate Usable Area of House Essay

379 Words | 2 Pages### Cmis 102 Introduction to Problem Solving and Algorithm Design Essay

532 Words | 3 Pages