Professional Documents
Culture Documents
Java N7
Java N7
PROGRAM:
OUTPUT:
2) Write a Java program to print the given message
PROGRAM:
OUTPUT:
3) Write a Java program to check whether a given number is even or odd.
PROGRAM:
OUTPUT:
4) Write a Java program to check whether a given number is positive or negative.
PROGRAM:
OUTPUT:
5) Write a Java program to print the given number through console.
PROGRAM:
OUTPUT: