You're only calling the menu again if the user enters D or d. If you want them to be able to pick something again after every selection, I would copy that into each of the switch cases.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Welcome to Jimmy's Snack Bar!
S - Sandwich P30.00
C - Chips P50.00
P - Pansit P20.00
H - Hotdog P25.00
D - Coke P15.00
B - Burger P25.00
X - Cancel sale and start over
T - Total the sale
All items have additional 12% tax.
Please enter the letter of your selection: d
Coke - P15.00
S - Sandwich P30.00
C - Chips P50.00
P - Pansit P20.00
H - Hotdog P25.00
D - Coke P15.00
B - Burger P25.00
X - Cancel sale and start over
T - Total the sale
All items have additional 12% tax.
Your current total is: P 15.00
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Welcome to Jimmy's Snack Bar!
S - Sandwich P30.00
C - Chips P50.00
P - Pansit P20.00
H - Hotdog P25.00
D - Coke P15.00
B - Burger P25.00
X - Cancel sale and start over
T - Total the sale
All items have additional 12% tax.
Please enter the letter of your selection: t
Sub-total: 15.00
+ Tax : 1.80
Total : 16.80
Total : -16.80
how much do you want to pay.
50
Your current total is: P 15.00
Press any key to continue . . .
this is the output that I got with your code verbatum.
It seems that without adding the call to the menu after each selection, you're going to go to the default in the next iteration of the loop. You need to code something to let the user enter another selection after the first one in each switch statement.Ignore this, lol... I was wrong!
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Welcome to Jimmy's Snack Bar!
S - Sandwich P30.00
C - Chips P50.00
P - Pansit P20.00
H - Hotdog P25.00
D - Coke P15.00
B - Burger P25.00
X - Cancel sale and start over
T - Total the sale
All items have additional 12% tax.
Please enter the letter of your selection: c
Chips - P50.00
Your current total is: P 50.00
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Welcome to Jimmy's Snack Bar!
S - Sandwich P30.00
C - Chips P50.00
P - Pansit P20.00
H - Hotdog P25.00
D - Coke P15.00
B - Burger P25.00
X - Cancel sale and start over
T - Total the sale
All items have additional 12% tax.
Please enter the letter of your selection: c
Chips - P50.00
Your current total is: P 100.00
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Welcome to Jimmy's Snack Bar!
S - Sandwich P30.00
C - Chips P50.00
P - Pansit P20.00
H - Hotdog P25.00
D - Coke P15.00
B - Burger P25.00
X - Cancel sale and start over
T - Total the sale
All items have additional 12% tax.
Please enter the letter of your selection: c
Chips - P50.00
Your current total is: P 150.00
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Welcome to Jimmy's Snack Bar!
S - Sandwich P30.00
C - Chips P50.00
P - Pansit P20.00
H - Hotdog P25.00
D - Coke P15.00
B - Burger P25.00
X - Cancel sale and start over
T - Total the sale
All items have additional 12% tax.
Please enter the letter of your selection: t
how much do you want to pay.
1000
Sub-total: 150.00
+ Tax : 18.00
Total : 168.00
Total : 832.00
Your current total is: P 150.00
Press any key to continue . . .