Assignment(if-else)
1. Write a Java Program to find whether a person is eligible to vote or not.
2. WAJP to number is greater than 10 or not.
3. WAJP to check whether number is Positive or Negative.
4. WAJP to check whether number is Odd or Even.
5. WAJP to check whether year is Leap Year or not.
6. WAJP to compare 2 numbers and print greater.
7. WAJP to find whether a person is in Profit or Loss
Assignment(if-else-if)
1. WAJP to number is greater than 10 or not or number is 10.
2. WAJP to check whether number is Positive or Negative or Zero.
3. WAJP to check whether number is Odd or Even or Zero.
4. WAJP to compare 2 numbers and check for equality or print the greater number.
5. WAJP to find whether a person is in Profit or Loss or No Profit No Loss