Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

My instructions are: To write a program that will accept a length (feet followed by inches) and width (feet followed by inches) and calculate the

My instructions are:

To write a program that will accept a length (feet followed by inches) and width (feet followed by inches) and calculate the amount of concrete and rebar needed to pour a rectangle concrete slab.

? Footings are one foot wide by one foot deep.

? Slab thickness is four inches thick.

? Two sticks of rebar placed in the footings half way down and a minimum of 2 inches from the edge.

My program needs to be able to calculate and report:

? The total concrete needed as a whole.

? The concrete needed for the footings.

? The concrete needed for the portion of the foundation that is only four inches thick.

? The total number of feet of rebar required for the project. Rebar will be four inches lower than the length of each side, which allows the ends to come within two inches from each edge.

All calculations need to be in cubic yards, except for rebar; rebar will be in feet.

First I need to prompt the user to input a length in feet and any additional inches which I figured out: Where I am confused is actually coming up with the formulas to use in order to find the concrete needed for footings and slab. Also, declaring the correct variables to do so.

I attached the picture of how the figure sort of looks like in order for this to make more sense: (Length and width depends on input given by user)

image text in transcribed
\f

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_2

Step: 3

blur-text-image_3

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

Modern Dental Assisting

Authors: Doni Bird, Debbie Robinson

13th Edition

978-0323624855, 0323624855

Students also viewed these Programming questions