My dad and I are currently using the book called Blue Pelican Java.(he also purchased the answer book too) We also supplement our reading by visiting this website and working on there exercises. We are currently working on the if Statements.
http://programmedlessons.org/java5/Notes/chap12/progExercises12.html
For exercise 2 called: Order checker. Is there a way to solve this problem without using the && statements?
Also, before I used the && statements I was unable to print the result out every time I ran this program;
System.out.println("Total price is " + (totalBoltPrice + totalNutPrice + totalWasherPrice));
This is the program I have now it runs and seems to solve the question on exercise 2.
I hope I was clear (I'm only 11 ) I like java and I think it's fun but I need some help so I came here to the pro's