# Title: Fence program # Author: Vinnie # Date: 26 May 2025 # Version: V1 # Purpose: Caculate the cost of putting a fence around a paddock print ("Welcome to the caculator program") print ('To use this program you will enter the length and width of a paddok') # collect input: length, width & cost length = float(input('What is the length? ')) width = float(input('What is the width? ')) cost = float(input('What is the price per meter? ')) # caculate perimeter and total cost perimeter = (length + width) * 2 total_cost = perimeter * cost # display results print(f'The perimeter is {perimeter}') print(f'The cost is ${total_cost}') print('The program has ended') print('ngr')