class PositiveNegative
{
public static void main(String[] args)
{
int n=10;
if (n<0)
{
System.out.println("Number is negative");
}
else
{
System.out.println("Number is positive");
}
}
}
Search form is empty!
JavaWithZ © 2015. All Rights Reserved.
Created by ThemeXpose
0 comments:
Post a Comment