합 구하기 1 2 3 4 5 6 7 8 9 10 11 12 13 import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n= sc.nextInt(); int sum=0; for(int i=1;i
별찍기 - 4 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int temp=0; for(int m=0;m
별찍기 -3 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int temp=0; for(int m=0;m0;i--) System.out.print("*"); temp++; System.out.println(); } } } http://colorscripter.com/info#e" target="_blank" style="color:#e5e5e5; text-decoration:none">Colored by Color Scri..
별찍기 - 1 JAVA import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n= sc.nextInt(); for(int i=1;i
구구단 import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); for(int i=1;i
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); if(n
1234567891011import 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(); System.out.println(a+b); }}Colored by Color Scriptercs 12345#include int main(void){ printf("Hello World!"); return 0;}cs 링크▼https://www.acmicpc.net/problem/2558
1234567891011121314151617import 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(); int c = sc.nextInt(); System.out.println((a+b)%c); System.out.println((a%c + b%c)%c); System.out.println((a*b)%c); System.out.println((a%c * b%c)%c); }} Colored by Color Scriptercs 링크▼https://www.acmicpc.ne..
123456789101112131415import 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(); System.out.println(a+b); System.out.println(a-b); System.out.println(a*b); System.out.println(a/b); System.out.println(a%b); }}Colored by Color Scriptercs 링크▼https://www.acmicpc.net/problem/10869
123456789101112131415import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int ia = sc.nextInt(); int ib = sc.nextInt(); double da = (double)ia; double db = (double)ib; System.out.println(da/db); }}Colored by Color Scriptercs