This website uses cookies to ensure you have the best experience. Learn more


942 words - 4 pages

Problem Definition: The problem here is to calculate the usable area in square feet of house. We are to assume that the house has a maximum of four rooms, and that each room is rectangular.

Problem Analysis

Objective: Devise a program that calculates the usable area of a house. This is minimally what is being requested.

• Outputs: This problem calls for a simple output, the total usable square foot of the house, with a maximum of four rooms, each room being rectangular.

Total number of square foot = Area of Room1 + Area of Room2 + Area of Room3 + Area of Room4

• Inputs: The problem will require us to know the length and width of each of the four rectangular ...view middle of the document...

Program Design –

The tasks involved in this program are to prompt the user for the length and width of each of the rooms and then multiply the values in order to obtain the area of each room and finally taking the sum of those values to obtain the total usable area of the house.

Main Module
Declare AreaofRoom1 As Float
Declare AreaofRoom2 As Float
Declare AreaofRoom3 As Float
Declare AreaofRoom4 As Float
Declare TotalAreaofHouse As Float
Declare Length1 As Float
Declare Length2 As Float
Declare Length3 As Float
Declare Length4 As Float
Declare Width1 As Float
Declare Width2 As Float
Declare Width3 As Float
Declare Width4 As Float

Input Data Module
Write “What is the Length of Room 1”
Input Length1
Write “What is the Width of Room 1”
Input Width1
Write “What is the Length of Room 2”
Input Length2
Write “What is the Width of Room 2”
Input Width2
Write “What is the Length of Room 3”
Input Length3
Write “What is the Width of Room 3”
Input Width3
Write “What is the Length of Room 4”
Input Length4
Write “What is the Width of Room 4”
Input Width4

Perform Calculations Module
Set AreaofRoom1 = Length1 * Width1
Set AreaofRoom2 = Length2 * Width2
Set AreaofRoom3 = Length3 * Width3
Set AreaofRoom4 = Length4 * Width4
Set TotalAreaofHouse = AreaofRoom1 + AreaofRoom2 + AreaofRoom3 + AreaofRoom4

Output Results Module
Write “The Total Area of House is: ” + TotalAreaofHouse

Flow Diagram – this is where you attach your flow diagrams for each of your modules. If you are using Raptor you would attach the Raptor diagrams by copying the diagram to the clipboard and pasting it into your assignment. If you are not using Raptor create your flow diagrams using another flowcharting tool.

B. Program Pseudocode –

Declare AreaofRoom1 As Float // variables are a float variable
Declare AreaofRoom2 As Float
Declare AreaofRoom3 As Float
Declare AreaofRoom4 As Float
Declare TotalAreaofHouse As Float
Declare Length1 As Float
Declare Length2 As Float
Declare Length3 As Float
Declare Length4 As Float
Declare Width1 As Float
Declare Width2 As Float
Declare Width3 As Float
Declare Width4 As Float
Write “What is the Length of...

Other Papers Like Assignment1

Acc 557 Assignment1

1672 words - 7 pages Ethical Breeches and the Current Corporate Environment Gretchen Tyler Dr. Alfred C. Greenfield, Jr. Strayer University ACC 557 Financial Accounting July 20, 2013 In recent years, there have been many ethical accounting breeches in large corporations that ended up costing investors and employees of the corporations a lot of money. Enron was a major player in many breeches, and ultimately was one of the key players for the SEC creating new

Fn2 Assignment 1

912 words - 4 pages .  Long­term debt was not repaid and re­issued. Rather the net increase to long­term debt was the only thing that affected the account balance other than the principal repayment of $54,100.­2014/14.15.FA2/s02.assignment1.htm 1/3 19/12/2014 Blackboard Learn 5.  Bank indebtedness is a short­term loan. Required 1.  Prepare a statement of cash flows for the year ended December 31

Biddy`S Bakery Case Study

588 words - 3 pages Assignment1: Biddy`s Bakery Case Study Odontuya Erdenebileg Bus 515 Professor, Dr. Travis Davidson July 18, 2012 Explain the challenge Elizabeth faced in meeting her capacity needs and what she should have considered before moving into the larger facility. However, initially sales were slow at the beginning, after a few years Biddy`s Bakery began to attract an attention of customers thus, first floor of “Biddy`s” home couldn`t


568 words - 3 pages GSBS6010 Foundation of Marketing Theory-Assignment1-Homework 2 As a one of the largest companies, Apple also has some competitors in the worldwide. According to Gartner market research showed that In PC area, HP (market share 19.6%) and Acer (market share 13.3%) have became major competitors of Apple in fourth quarter of 2010, in the smartphone operating system area major rivals of Apple are Nokia Symbian (44,3%), Blackberry RIM (19.4%) and

Complexities of the U.S. Financial System

826 words - 4 pages Assignment1: Complexities of the U.S. Financial System Synthia Reed FIN 100 Professor Lester Reid Strayer University May 5, 2013 Complexities of the U.S. Financial System The U.S. financial markets play a big role in the economy. If no one is investing in businesses, they cannot start up, or grow larger to meet the needs of the country or nation. The economy is directly impacted by the amount of stocks bought and sold each day


1969 words - 8 pages Ankita RoySeptember 3, 20142014 APW Summer Assignment1.) Through the everlasting changes brought by Southernization in Afro-Eurasia (300-1200 C.E), some aspects of life/civilization went unchanged such as religion, a prolonged interest in education, and trade. In the Islamic Caliphates the major religion adopted was Islam in 700 C.E, as indicated by the name of the caliphate. In China the dominant/most significant religion emerged as Buddhism

Project Management Of Canisp Oil Field

5323 words - 22 pages : Stakeholder relations 7 Figure 6: Oil production 10 Figure 7: Production costs 11 Figure 8: Production income 11 Figure 9: Profit 12 Figure 10: Cumulative profit 12 Figure 11: Net present value 13 Figure 12: Decrease of oil price 13 Figure 13: Increase of exchange rate 14 Figure 14: Risk assessment map 15 Project Management - Canisp Assignment1. Executive summaryMain goal of this report is to

Freedom And Responsibility

2141 words - 9 pages Built within the Constitution of the United States are specifically defined freedoms that are guaranteed to all citizens. Conversely, with every constitutional freedom there comes a corresponding responsibility. On September 25, 1789, the state legislature’s twelve proposed amendments were transmitted by congress, the first two dealing with congressional representation and congressional pay. The following numbers three through twelve were

Hate Crime Laws

2348 words - 10 pages On June 7, 1998, 49-year-old James Byrd Jr. of Texas accepted a ride from three white men, who then beat him severely, urinated on him, chained him by his ankles to the back of their pick-up truck, dragged him for three miles into the countryside, and dumped his corpse in front of an African-American cemetery (Graczyk). A little over a year later, a jury sentenced ring leader John King to death by lethal injection (“Man Executed for Dragging

Rational Emotional Behavior Therapy Case Study Conceptualization And Treatment Plan

2140 words - 9 pages Rational Emotional Behavior Therapy Case Study of Sarah: A Conceptualization and Treatment Plan Rational emotive behavior therapy, REBT, was developed by Albert Ellis and holds the central belief that the events in our lives do not cause our disturbances but that they are instead caused by our view of the events (Murdock, 2009). Murdock (2009) states that “people are seen as responsible for their behavior” (p. 279) but, because they are

Holidays In Albania

1636 words - 7 pages Have you ever thought about having exciting and incredibly cheap vacations? Albania might be the right choice. According to My Travel Guide, Albania is ranked the fourth among ten places worth visiting in Eastern Europe (“Top 10 Eastern European Destinations”). One can encounter three kinds of vacations in this Mediterranean country: winter, summer, and cultural. The ideal places to spend your winter vacations are the Albanian Alps. They are

Related Essays


951 words - 4 pages History of Dell Computers Michael Dell, Founder. Dell started business as a student in 1983. Company renamed Dell Computer in 1987. 1987 Dell Computers hit Fortune 500 in 1992. Became the leader of PC industry in the U.S. in 1999. Became the worldwide leader in PCs in 2001. Dell Inc. in 2005 Michael Dell, Founder of Dell Computers Products Dell’s principal products include: Desktop PCs Notebook computers Workstations Servers Printers


2486 words - 10 pages Terry Addison Course: IT-550 Kaplan University September 28, 2014 TABLE OF CONTENTS ABSTRACT 3 UNIT 1 Assignment 4 Introduction Terrorist Security Breach of a Network in Large Corporations What constitutes a cyber-terrorism case? Evidence related to cyber-terrorism and its meaning E-Discovery Process Conclusion 10 REFERENCES 11 Abstract This document discusses security breach at a large commercial corporation


3111 words - 13 pages Financial Accounting and Information Systems Exam 2 Fall 2010 True/False (1 point) 1) According to GAAP revenue recognition criteria, in order for revenue to be recognized on the income statement, it must be earned and realized (realizable).T 2) Realized gains and losses on investments classified as trading securities are reported in a company's net income in the period that they are realized. 3) Accounts receivable (net) reported

Assignment1 1228 Words

1228 words - 5 pages College of Business, Hospitality and Tourism Studies School of Accounting Com 501 Communication Literacy Trimester 3, 2015 Assignment 2- Critical Review Name: Devika Chand Id: 2015131951 Tutorial Group: 2 BIBLOGRAPHY DETAILS Review: Vijayakumar, L., 2004. Suicide prevention: the urgent need in developing countries. World Psychiatry, 3(3), pp. 158-159. Suicide prevention: the urgent need in developing countries Any death