new at this does my code work out to display this output....

Output:

Enter the amount of the purchases: (user enters 44.28)
Enter the cash tendered: (user enters 50)

Your change is equal to...