IN the following code :-
public class Calc {
public static void main (
String args []) {
int total = 0;
for (int i = 0, j = 10; total > 30; ++i, --j) {
System.out.println(" i = " + i + " : j = " + j);
total += (i + j);
}
System.out.println("Total " + total);
}
}
; the ouput displays -- Total 0
why...why doesn't it display the contents in the loop!!!
------------------
lakshmi