Answer:
The code is written in python in the explanation section below
Explanation:
a_feet = int(input("Input the feet of the first fabric: "))
a_inches = int(input("input the size in inches for the first piece of fabric: "))
b_feet = int(input("input the size in Feet for the second piece of fabric: "))
b_inches = int(input("Enter the size in Inches for the second piece of fabric: "))
sum_inches = a_inches + b_inches
inches_to_feet = sum_inches // 12
rem_from_div = sum_inches % 12
sum_feet = a_feet + b_feet + inches_to_feet
print("Feet: {} Inches: {}".format(sum_feet, rem_from_div))