# Height and Square Feet Essay

Submitted By rdnekc14
Words: 582
Pages: 3

Student Name:
Class/Section:
Professor Name:
Assignment due date:
In this assignment, you will design a program to perform 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.
Before attempting this exercise, be sure you have completed all of chapter 2 and course module readings, participated in the weekly conferences, and thoroughly understand the examples throughout the chapter. Clearly mark your answers as 1 a, 1 b etc.
1. Using a similar approach as example 2.3 (textbook page 75): “Finding the Sale Price of Items in a Department Store”, provide your analysis for the following problem statement: You need to write a program that will calculate the number of square feet (living space) in a 4-room house.

1 a) Write your problem definition or problem statement, as of what problem needs to be solved.

1 b) Write your analysis and design approach to solve this problem. In other words, tell us how you will solve this problem.

1c) State the assumptions and limitations in your program and tell us how it is reflected in your pseudocode. For example, your assumption is the user can enter decimal value in the room length and your program will handle that. Limitation is, there is no way to dynamically increase room number from 4 to 5. This is just one example, and there can be more assumptions and limitations.

1 d) State what exception conditions are handled in your pseudocode. For example, if by mistake, the input length of room length is negative, or character, how you have handled that in your pseudocode. This is just one example. You can add additional exception conditions.