For the formatting, i use an ide called Eclipse, it has a really nifty build in formatter. press control shift f and everything goes where it should be. When im working together with other people we...
Type: Posts; User: elamre
For the formatting, i use an ide called Eclipse, it has a really nifty build in formatter. press control shift f and everything goes where it should be. When im working together with other people we...
That is a good solution, you could've also made an if-else statement. No particular advantages to that, but i find it easier to understand my own code that way:
import java.util.Scanner;...
What exactly does it give for error?
Also try using the code taggs.
.code=java]
your code here
./code]
replace the . with [