That will be very very hard to find looking at student code on the forums. I see a well documented program about once a month.
Look at the source code that comes with the JDK. It's in a zip...
Type: Posts; User: Norm
That will be very very hard to find looking at student code on the forums. I see a well documented program about once a month.
Look at the source code that comes with the JDK. It's in a zip...
What are your questions now?
What happens then?
There are many subtle things in programming that can be missed. Why take a chance when it's so easy to compile and execute code to see what it does. And it's a lot easier and there is not doubts...
What does the code print out when it executes?
What is the purpose of the program?
It looks like it gets some input from the user, does some computations and prints out something. That's a...