Java Program Using Nested If Else Statement In Javascript The Xy