Re: Simple Java Program
will try the main error in a moment:
for starters:
System.out.println("3.5 Miles Converted into inches" = mile * yard * feet + inches);
The = needs to be within the string and you need a string appending operator, in java I think its + but not sure so it should be
System.out.println("3.5 Miles Converted into inches = " + (mile * yard * feet + inches));
But I'm currently thinking in C++ so may get a bit wrong.
__________________
"Knowledge is Power. Power Corrupts. Study Hard. Be Evil."
|