Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

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");
         }
      }
   }
}
Source by sites.google.com #
 
PREVIOUS NEXT
Tagged: #Example #Nested #IF #Statement
ADD COMMENT
Topic
Name
1+3 =