Java Program Using Nested If Function Example