Search:

Type: Posts; User: Actinistia

Search: Search took 0.09 seconds.

  1. Replies
    3
    Views
    1,530

    Re: Need help with switch case

    I think you should try using println statements to see what's wrong. Try printing out your variables (i.e. discount, insurance). Try and see what happens to discount and insurance when you enter 'f',...
  2. Replies
    3
    Views
    1,530

    Re: Need help with switch case

    Hey! If you want to use the switch or if/else if statements, I'd recommend reading The if-then and if-then-else Statements (The Java™ Tutorials > Learning the Java Language > Language Basics) and The...
Results 1 to 2 of 2