Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Roof Cost Estimator. In program 6 we will write a program that estimates the cost of a new shingled roof on a simple house with

Roof Cost Estimator.

In program 6 we will write a program that estimates the cost of a new shingled roof on a simple house with a simple roof structure. We calculate the area of house as length times width. But since the roof is a little larger than the house area, we need to factor in what is called thepitch of the roof. Theroof pitchis a measure of the angle that the roof makes with the horizontal. It is a measure of roof steepness. The steeper the roof, the more the roof area is larger than the house area.

Pitch: The roof's pitch is indicated as a rise/run as shown the image below.pitch = rise/run. This is not a calculation, just a way of expressing roof steepness. In fact it is really a proportion, always based on a run of 12 inches. So a roof with a pitch of 4/12 rises 4 inches for every 12 on the horizontal. As you can see from the image below, the larger the rise, the steeper the roof angle. Also, note that some roofs have an overhang at the eaves which may or may not figure into the calculation.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Android 4 Application Development

Authors: Reto Meier

3rd Edition

1118223853, 9781118223857

More Books

Students also viewed these Programming questions