True but his main problem is he lacks the ability to debug...
You cannot in any circumstance build a project of decent size without debugging, Doing what his done will cause him to have to go...
Type: Posts; User: macko
True but his main problem is he lacks the ability to debug...
You cannot in any circumstance build a project of decent size without debugging, Doing what his done will cause him to have to go...
i give up...
Ive meant you write code to actualy initialize the values.. such as firstnum = console.readline(); or so on...
I may take kevins blog advice, Although might have to break it and...
Can you just read my posts and follow them O_O... nobody here will "give you the code" java can be frustrating at times, We all deal with it.
If what you are doing is beginner java which it looks...
There you go... you've got the debugging now.. work out how you would fix that..
As ive said i will not help complete home work.. Now that you know what the outcome is doing.. try changing it and...
True it's just that when you first declare firstnum = 0...
its hard to do the debugging, Hence if you remove the = 0
Then if the next line doesn't go through properly you can see that firstnum...
Forget my crappy first comment, Upon further reading i had discovered the real error obv.. as ive updated ;)
try saying
int firstnum;
int secondnum;
int thirdnum;
and then simply under your custom error message type
System.out.println(firstnum + " " + secondnum + " " + thirdnum);
You will then...
Sorry, As i have said:
You need to actually learn yourself rather then me simply giving the code to you, What will you do once you've finished java? so please follow mine and others guides...
simply change the value of first, second and third to String or w.e ur wanting lol :D I've clearly said that this is for demo only.
As i've said tho try actualy sending the values from the console...
Correct me if im wrong but.. is this not what you're trying to do only simplified?
public demo() throws Exception{
// CREATE SCANNER
Scanner sc = new Scanner(System.in);
// GET...
take a look at this demo ive just done on console reading / writing:
public demo() throws Exception{
// GET FIRST NUMBER
Scanner sc = new Scanner(System.in);...
REMOVED DUE TO INCORRECT AND STUPID ADVICE BY ME LOL :D