A variable defined in a method can't be used by any other methods. The menu() method returns the value of a so other methods can use it value. The code that calls menu() should save what it returns...
Type: Posts; User: Norm
A variable defined in a method can't be used by any other methods. The menu() method returns the value of a so other methods can use it value. The code that calls menu() should save what it returns...
What will the freezeScreen() method do with the value returned by the menu() method? Isn't that value needed somewhere else in the program?
Maybe menu() should call freezeScreen().
What happened with the code posted in post#9?
What will the freezeScreen() method do with the value returned by the menu() method?
You may need to call the menu() method after each call to the...
Why hide the question? What should I look for? Give me a String to Find: ***HERE***
The posted code has a call to the menu() method in it now???? (Method names should start with lowercase letters)
That's a strange question. The posted code is full of examples. Here are three places methods are called:
clearScreen();
orgGrade = orginalgrade(orgGrade); //get users...
Did you see this line in post#4?
The value returned by the Menu() method should be saved in a.
See the tutorial: Returning a Value from a Method (The Java™ Tutorials > Learning the Java...
Assign a the new value. What value do you want a to have? Where does that value come from?
The value returned by the Menu() method should be saved in a.
Assign all the variables a value when they are defined:
int var = 0;