#write a function final_price that has 3 parameters #original price, discount % (ints) and tax % (ints) #function returns final price after discount and tax applied #write function process that doesn't have any parameters #function reads tax as integer and #function reads price and discount for each item, first negative value will #terminate the input #function prints final price for each time #and returns highest prices and lowest price #write main to test your function def final_price(price, discount, tax): disc_price=price-price*discount/100 return (disc_price+tax*disc_price/100) def process(): tax=int(input("tax ")) price=float(input("enter price ")) discount=int(input("enter discount ")) count=0 max_price=-1 min_price=-1 while(price>=0 and discount>=0): count+=1 res=final_price(price, discount, tax) print("final price", res) if(count==1): max_price=res min_price=res else: if(res>max_price): max_price=res if(res