fork download
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6. import java.util.Scanner;
  7.  
  8. public class Ideone{
  9. public static void main (String[] args) throws java.lang.Exception{
  10. int n;
  11. Scanner myObj = new Scanner(System.in);
  12. n = myObj.nextInt();
  13. if (Math.abs(n) >= 10 && Math.abs(n) < 100 && n % 6 == 0){
  14. System.out.print("YES");
  15. }
  16. else {
  17. System.out.print("NO");
  18. }
  19. }
  20. }
Compilation error #stdin compilation error #stdout 0.1s 35412KB
stdin
5
compilation info
Main.java:8: error: class Ideone is public, should be declared in a file named Ideone.java
public class Ideone{
       ^
1 error
stdout
Standard output is empty