An algorithm is developed to process sales tax calculations in a retail store.
1 # ----- Global Configuration -----
2 TAX_RATE = 0.20
3
4 # ----- Subprograms -----
5 def calculateTax(price):
6 return price * TAX_RATE
7
8 # ----- Main Program -----
9 itemPrice = float(input("Enter item price in £: "))
10 totalTax = calculateTax(itemPrice)
11 print("Tax to pay is: £", totalTax)
State the name of the computational thinking technique that is demonstrated by breaking down a complex program into smaller, self-contained, and manageable parts such as the calculateTax subprogram interface.