Answer:
inches = int(input("Enter the number of inches: "))
whole_feet = int(inches / 12)
print("There are " + str(whole_feet) + " whole feet in " + str(inches) + " inches")
Step-by-step explanation:
*The code is in Python.
Ask the user to enter the number of inches
Calculate the whole_feet by dividing the inches by 12 (Since 1 inch = 1/12 feet) and casting the result to int so that you can get the number of whole feet. Note that if you do not cast it to the int, you would get a decimal value
Print the result