A carpenter wants to make a ladder, but he want to calculate the required wood for it. The distance between each step is 1 foot Price of wood is 500 per foot calculate the price of wood as well. Example: Input: Output: Enter the length of ladder in foot: 25 Enter the width of ladder in foot: 2 Required wood in foot: 98 Cost of wood is: 49000