G+_Vincent Panico Posted June 30, 2016 Share Posted June 30, 2016 Need help I cant figure out this simple java code! Link to comment Share on other sites More sharing options...
G+_Tadeusz Cantwell Posted June 30, 2016 Share Posted June 30, 2016 You are missing some semi colons, start at the first line and work down. Link to comment Share on other sites More sharing options...
G+_Vincent Panico Posted July 1, 2016 Author Share Posted July 1, 2016 Tadeusz Cantwell ok what about the for and if statements? Link to comment Share on other sites More sharing options...
G+_Tadeusz Cantwell Posted July 1, 2016 Share Posted July 1, 2016 Is this homework? Link to comment Share on other sites More sharing options...
G+_Mark Cahill Posted July 1, 2016 Share Posted July 1, 2016 Vincent Panico? netbeans is trying to help you. Everywhere you see a red exclamation mark down the left there's an issue. Each issue will come with some information about what's wrong. Mostly you're missing semicolons as Tadeusz mentioned. Link to comment Share on other sites More sharing options...
G+_Vincent Panico Posted July 2, 2016 Author Share Posted July 2, 2016 Tadeusz Cantwell yes it is my text book gave me that code and I reviewed the for and if statements and seem to not figure it out I spend like a hour trying to mess with it and gave my brain a break. Link to comment Share on other sites More sharing options...
G+_Tadeusz Cantwell Posted July 3, 2016 Share Posted July 3, 2016 Learning to programming takes time to work on problems. Sometimes it takes a few attempts to figure out the answer. Another thing I spotted was when code is over two lines there is an error as well. Link to comment Share on other sites More sharing options...
Recommended Posts