if(a > b )
{
}
else
{
System.out.println("a is not greater than b");
}
I need to switch this over to an "if-then" expression however; I can NOT change what the output says...
Can I simply write it out as:
if !(a > b )
{
System.out.println("a is not greater than b")
}
This post has been edited by macosxnerd101: 19 November 2012 - 10:34 PM
Reason for edit:: Please use code tags

New Topic/Question
Reply



MultiQuote







|