package Samples; /*Generated by MPS */ public class SidewaysIfSample { public SidewaysIfSample() { } public static void main(String[] args) { // This is a good old "if", just displayed differently on the screen if (args.length > 1) { int value1 = Integer.parseInt(args[0]); int value2 = Integer.parseInt(args[1]); System.out.println("Result: " + (value1 + value2)); System.out.println("Done"); } else { System.out.println("We can add two numbers"); System.out.println("Specify them as arguments"); System.out.println("Done"); } // Try Alt + Enter on the "on condition that" text to turn in back to standard "if" } }