Hello im having trouble with a code im trying to make. What im trying to do is if the user select 'a' instead of 'b' they would get a 05 percent discount off of 3000 dollars. how can i do this with switch case or with else if
I started with
example
System.out.print("select a or b?");
what do i put now? i want to put if user selects 'a' they will receive a 5 percent discount off 3000 dollars
thanks