import java.util.*; public class Main { public static void main(String[] args) { System.out.println("Hello World"); int n=52; for(int i=2;i<=Math.sqrt(n);i++){ if(n%i==0){ System.out.print("YES"); System.exit(1); } } System.out.println("NOT"); } }
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