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 8f 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 throu 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.Elost) can be useful in solving this problem 3. Implement a console application in Python that got the necessary inputs needed from the user to evalunte the following Boolean condition and write the result to the console window The condition is true if Meg is older than both Sue and Elise, OR Mary can eat at least 2 more pizza slices than Elise, OR NOT (Sue is younger than Mary but Sue can eat more slices than Elise). OR Sue can eat at least 4 slices the condition is false otherwise

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!