Forum: Java Sep 10th, 2007 |
| Replies: 6 Views: 1,863 waa..it's most embarrassing on my part..i always concentrate on the maximum method...i forgot the first part...so sorry for the trouble. =/ it's working now... |
Forum: Java Sep 9th, 2007 |
| Replies: 6 Views: 1,863 ^
i've tried to break it down before, like that (note that im using a double)
double maxValue;
maxValue = Math.max(n2,n3);
return Math.max(n1,maxValue);
i can't say no, the output is... |
Forum: Java Sep 9th, 2007 |
| Replies: 6 Views: 1,863 Hey, i am practicing in this book sample, it says i can rewrite my code for determining the highest value in my 3 input. the commented part is working perfectly (Line 19, 26), it can return the... |
Forum: Java Sep 8th, 2007 |
| Replies: 21 Views: 5,422 cool, i suggest you do advance reading. so you can learn the basic structures and rules in java programming, we can't really rely much on our instructors cuz they dont care much about the important... |
Forum: Java Sep 8th, 2007 |
| Replies: 21 Views: 5,422 I've debug it :) check those comments for the correction of your codes..
import java.io.*;
public class Input
{
// public static InputStreamReader reader=new InputStreamReader(System.in);... |
Forum: Java Sep 7th, 2007 |
| Replies: 9 Views: 1,214 geez, i dunno there's a 7th edition of Java: How to program, i only have the 6th...XD yeah, that book is very nice, i can practice programming with those exercises given in the end of every chapter. |
Forum: Java Sep 7th, 2007 |
| Replies: 21 Views: 5,422 ^
lol, i guess it's too late... |
Forum: Java Sep 7th, 2007 |
| Replies: 21 Views: 5,422 inputs need to be in a try..catch,
format:
try {
statement
}
catch(Exception ex) {
statement
} |