I added the static and had to create fields for my arrays as a result. I'm still getting the main class error, and so I'm wondering what else it could be. Also I have some skepticism towards other parts of my code. I'm not sure if I nested the if else statements correctly, and if I incorrected tried to incorporate them incorrectly. Pretty much not sure if this is the best code to do the job I want, which is have a user input their number grade, and receive a letter grade.
You’re right, my understanding is fuzzy. So to clarify, do I need to make a class for each method I use? And I had an if before the else but that was also flagged. Honestly I’m just trying to learn it as I do it
So I'm trying to make a program that asks for a user to input a password, display certain text if the inputted password is correct and display another text if incorrect. Can someone tell me exactly what's wrong with my program? The solutions provided in Eclipse just seem to open up more errors.
so far my else statement, value, and do statement are flagged, along with some paired curly braces.