PropertyCostCalculatorDocumentation

PropertyCostCalculatorDocumentation - houseCost double Cost...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Leo Denton CIS 120-102 Assignment 0 January 19, 2006 Problem statement: The purpose of this program is to calculate the cost of a piece of property that includes the building of a house. The cost of the lot is based on $500.00 per linear foot of frontage and $80.00 per square foot of the house. Data dictionary Variable name Data type Description frontage int The number of feet that lot has on street. squareFeet int Square footage of house input String User input for frontage and squareFeet lotCost double Cost of lot without house
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: houseCost double Cost of house totalCost double Sum of cost for house and lot Formulas: lotCost = 500.0 * frontage houseCost = 80.0 * squareFeet totalCost = lotCost + houseCost Test design: Case # Frontage Cost of lot Area of house Cost of house Total cost Expected results 1 100 50000 1500 120000 170000 OK 2 200 100000 2000 160000 260000 OK 3 300 150000 1800 144000 294000 OK 4 150 75000 75000 OK Case 1: Case 2: Case 3: Case 4:...
View Full Document

Page1 / 4

PropertyCostCalculatorDocumentation - houseCost double Cost...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online