Print discounted price and not total

is there a way to print each line produced the discounted price and not the total?
example with 50% discount:
pizza 10
beer 2

will be

5 pizza
beer 1

thanks

has anyone tried or know how to do?
I would like to print the discounted price of each product