public class Practice {
public static void main( String args[] )
{
int lowest= 5;
int sum = 2;
if (lowest>sum){
sum=lowest;
}
System.out.println( lowest );
}
}
From this code I, get 5 but shouldn't I get 2? how should I change the code to make it equal to 2 instead of "sum=lowest;"?