Page 1 of 1

Write a python program that helps the user buy the correct amount of supplies to build a fence Assume this is a rectangu

Posted: Fri May 20, 2022 3:11 pm
by answerhappygod
Write a python program that helps the user buy the correct
amount of supplies to build a fence
Assume this is a rectangular fence
ask for the length and the width of their fenced area
ask them how far apart do they want their posts to be
we need to check to ensure that the distance is evenly divisible
by the post distance( we'll do that week 3 )
calculate the number of posts we need to buy
then, ask the user how long of a board they want to buy
if the board length is less than the post distance, tell them
they can't do that ( week 3 content )
calculate the number of boards needed to build the fence with a
single board across
then ask the user how many boards they want to run across each
post
ask the user how much each post costs
ask the user how much each board costs
output the total # of posts required
the total # of boards required
the total cost of each, and the grand total for the project
Please, if the question is incomplete what you need to add info
because this is the question all details for my lab....