this program is to calculate sum of discounted price.
I need to somehow incorporate switch statements in this program as it's part of my homework.
it would be easier if it was only if statements.
Side question: Will nested if statements make the code neater?
^I'm not too familiar with nested if statements.