Answers for "Example of Nested IF Statement"

0

Example of Nested IF Statement

public class Test {

   public static void main(String args[]) {
      int x = 30;
      int y = 10;

      if( x == 30 ) {
         if( y == 10 ) {
            System.out.print("X = 30 and Y = 10");
         }
      }
   }
}
Posted by: Guest on August-31-2021

Code answers related to "Example of Nested IF Statement"

Browse Popular Code Answers by Language