[1008/JAVA] A/B import java.util.Scanner; public class Main{ public static void main(String[] args){ double a,b; Scanner sc = new Scanner(System.in); a = sc.nextDouble(); b = sc.nextDouble(); sc.close(); System.out.println(a/b); } } ๐โ๏ธBaekjoon/Java 2021.08.31
[10998/JAVA] A×B import java.util.Scanner; public class Main{ public static void main(String[] args){ int a,b; Scanner sc = new Scanner(System.in); a = sc.nextInt(); b = sc.nextInt(); sc.close(); System.out.println(a*b); } } ๐โ๏ธBaekjoon/Java 2021.08.31
[1001/JAVA] A-B import java.util.Scanner; public class Main{ public static void main(String[] args){ int a,b; Scanner sc = new Scanner(System.in); a = sc.nextInt(); b = sc.nextInt(); sc.close(); System.out.println(a-b); } } ๐โ๏ธBaekjoon/Java 2021.08.31
[1000/JAVA] A+B import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); sc.close(); System.out.println(a+b); } } sc.close(); ๊ฐ์ฒด ์ข ๋ฃํด์ค์ผ๋ก์จ ์์ ๋ญ๋น ์ค์ ๐โ๏ธBaekjoon/Java 2021.08.31
[10172/JAVA] ๊ฐ์์ง public class Main{ public static void main(String[] args){ System.out.println("|\\_/|"); System.out.println("|q p| /}"); System.out.println("( 0 )\"\"\"\\"); System.out.println("|\"^\"` |"); System.out.println("||_/=\\\\__|"); } } escape๋ฌธ์ \' \" \n \t \\ ๐โ๏ธBaekjoon/Java 2021.08.31
[10171/JAVA] ๊ณ ์์ด public class Main{ public static void main(String[] args){ System.out.println("\\ /\\"); System.out.println(" ) ( ')"); System.out.println("( / )"); System.out.println(" \\(__)|"); } } escape๋ฌธ์ \' \" \n \t \\ ๐โ๏ธBaekjoon/Java 2021.08.31
[10718/JAVA] We love kriii public class Main{ public static void main(String[] args){ System.out.print("๊ฐํ์น๊ตฌ ๋ํ์ก๊ตฐ\n"); System.out.print("๊ฐํ์น๊ตฌ ๋ํ์ก๊ตฐ"); } } ๐โ๏ธBaekjoon/Java 2021.08.31
[2557/JAVA] Hello World public class Main { public static void main(String[] args) { System.out.print("Hello World!"); } }โ ๐โ๏ธBaekjoon/Java 2021.08.31