Tech Support Guy banner

Java Help!

1235 Views 1 Reply 2 Participants Last post by  qucho
Hello.

I am having major trouble with Java i am doing it as part of my HNC course, I dont know anything about it im more of a c++ guy. what im trying to do is make a program/script that simply adds 2 number together and puts the numbers out.
http://pastebin.com/m39c801e4
thanks
Status
Not open for further replies.
1 - 2 of 2 Posts
I placed a correction
http://pastebin.com/m1e6a69c6

I was not aware of the 'diff' tool in the website so i placed a bunch of commented lines stating what i changed =/ sorry.

anyhow: What are you using to type your code?

I used Eclipse and it told me exctly what was wrong with the code. I didnt even have to read it. It compiled and ran after the corrections.

[Edit]
The IF statement had a number one (1) instead of the letter i, as in "1f"
[Edit]
1 - 2 of 2 Posts
Status
Not open for further replies.
Top