So I have a project that's due soon, and I'm really not sure where to start. Below are the requirements for my project, and I really have no idea what they mean. So if someone could please look...
Type: Posts; User: ViewtifulAaron
So I have a project that's due soon, and I'm really not sure where to start. Below are the requirements for my project, and I really have no idea what they mean. So if someone could please look...
Ok, thanks a lot man, I'll try that out as soon as I can and post results
--- Update ---
ok, so I added a loop to my Main(), and removed the other things from the Methods. So, I have it now to...
Where would that need to go into my code? In every one of the methods I wrote? Because 'a' gets is the variable that holds the selection from the Menu(), so basically 'a' starts at 0, then when the...
No error, it just ends. Like, the Menu() is called again, you enter a selection but then it just ends. It never goes back to the switch statement.
--- Update ---
What is a do-while loop? and...
Ok, so my program works fine for the most part, except for a few minor issues that I absolutely have to fix. So, let me start by explaining a few things about the program. The program is suppose to...
Well, my variable 'a' is being defined in the Menu() method, but the only valid options are 1-5, so if anything else is put into variable 'a', the freezeScreen() is called which says "That is not a...
It's the 1st code in #13. Ok, so In the Menu Method, the user can select 1 -5, but if the user makes in invalid selection such as 6, it will say "That is an invalid selection!", then the...
I don't know how to do that.. So I'll just restate my question again.
So my freezeScreen(String Msg) method on line 87
public static void freezeScreen(String Msg,)
{
Scanner keyboard...
Scroll down near the end is where my question lies.
import java.util.Scanner; //for the ability to get input from
//the keyboard
import java.text.DecimalFormat;
public class...
public static void freezeScreen(String Msg, int a)
{
Scanner keyboard = new Scanner(System.in);
System.out.print(Msg);
keyboard.nextLine();
Menu();
}//end freezeScreen
Ok, thanks so much for all your help. I just have one last question. So I have everything working now, except one thing.
import java.util.Scanner; //for the ability to get input from ...
Yeah, the Menu method should assign a new value to 'a', but it doesn't, 'a' stays at 0 no matter what number you enter for its new value. Same problem with my 'orgGrade" variable, the originalGrade...
I tried doing that, but say I put a = 0; which a is the variable that holds the menu selection, well even when I chose a different number, 'a' still stays at 0, so how can I fix that?
Ok, so I keep on getting the errors where it says my variable may not have been initialized. I get this error in lines 22 regarding orgGrade, 26 regarding variable 'a', 33 regarding newGrade, 37...
Thanks alot for the help!
Hi there, so I'm basically lost on how to get Methods to work properly. Any help you could give me is greatly appreciated! I also attached a file with the requirements to do this project, so if you...
Ok I got it working, thanks man
So, every time I compile this, I get a single error on line 71 or the last part of the second If-Else statement. When I compile it, I get an error saying that my variable "bd" was not initialized.
...