Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. Implement the following as a console application. You are to write a program (can be in either Python or C#) to calculate and display

image text in transcribed
2. Implement the following as a console application. You are to write a program (can be in either Python or C#) to calculate and display the number of 8ft 2x4 studs that will be required for the side walls of simple "shotgun" style fishing camps. The user will enter the width and length of the camp building in floating point feet (14.3' for instance). For simplicity, assume the camp buildings have no interior walls (only exterior ones), and ignore any door and window openings. Assume all lumber is 8' 2x4 studs. Plates: Each exterior wall has one horizontal 2x4 bottom plate and two horizontal 2x4 top plates running the length of the wall. Studs: vertical 8' 2x4 studs are spaced every 16"; spacing may be less at the end of a wall if wall length is not an even multiple of 16" but cannot exceed 16". In addition, add three 8' 2x4 studs for each corner. Make sure not to duplicate count corners or the vertical studs already included in the wall Assume 3% loss (meaning you should purchase 3% more lumber then you theoretically need) Hint: Integer division and rounding functions (Math Round. Math.Ceiling. Math.Floor) can be useful in solving this

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

Databases On The Web Designing And Programming For Network Access

Authors: Patricia Ju

1st Edition

1558515100, 978-1558515109

More Books

Students also viewed these Databases questions

Question

1. Why do people tell lies on their CVs?

Answered: 1 week ago

Question

Determine the amplitude and period of each function.

Answered: 1 week ago

Question

=+herself to in terms of equity with regard to this assignment?

Answered: 1 week ago

Question

=+ What typical employee will the IA compare him/

Answered: 1 week ago

Question

=+7 What is the overall cost of the international assignment?

Answered: 1 week ago