Answer :
The program is (using pseudocode)
main()
Input length
Input price
TrimCost = length x price
printTrimCost()
Print "length x price = " & TrimCost
The main module will ask for the length and the price per feet. Then, an operation will calculate the cost. Finally, the results is shown including the calculations.
main()
Input length
Input price
TrimCost = length x price
printTrimCost()
Print "length x price = " & TrimCost
The main module will ask for the length and the price per feet. Then, an operation will calculate the cost. Finally, the results is shown including the calculations.