Question: 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

 2. Implement the following as a console application. You are to

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 problem. 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!