import java.util.*; class commands{ public static void main(String[]args){ int x = Integer.parseInt(args[0]); int y = Integer.parseInt(args[1]); int sum = x+y; System.out.println("The sum of x and y is "+sum); } }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter