/* program  If.java to demonstrate if-else */
class If {
	public static void main(String[] args) {
	int	input;
	input  = Integer.parseInt(args[0]);
	if(input >= 0)
		System.out.println("You Entered a positive number");
	else
	System.out.println("You Entered a negative number");

// Statements between enclosing braces form a Block of code.
// The statements within a block are like a single statement.
// The following if will execute three lines if true.
	if(args.length == 2) {
		int sum;
		sum = input + Integer.parseInt(args[1]);
		System.out.println("Sum = " + sum);
		}	
	}
}

