This code here will ask what type of pizza customer want, than how many quantity. than apply discount if the customer order quantity is applicable for discount.
Than finally show the output what is the final price.
this will do the same work but in interface way.