본문 바로가기

분류 전체보기

(392)
552 : 반복제어문3 - 자가진단5 Java 12345678910111213141516171819import java.util.Scanner; public class Main { public static void main (String[] arg) { Scanner sc = new Scanner(System.in); int line = sc.nextInt(); for (int i=0; i
551 : 반복제어문3 - 자가진단4 Java 12345678910111213141516171819import java.util.Scanner; public class Main { public static void main (String[] arg) { Scanner sc = new Scanner(System.in); int line = sc.nextInt(); for (int i=0; i
550 : 반복제어문3 - 자가진단3 Java 123456789101112131415161718192021import java.util.Scanner; public class Main { public static void main (String[] arg) { Scanner sc = new Scanner(System.in); int line = sc.nextInt(); for (int i=line; 0
634 : 반복제어문3 - 자가진단2 Java 123456789101112131415import java.util.Scanner; public class Main { public static void main (String[] arg) { Scanner sc = new Scanner(System.in); int line = sc.nextInt(); for (int i=0; i
549 : 반복제어문3 - 자가진단1 Java 12345678910111213141516import java.util.Scanner; public class Main { public static void main (String[] arg) { Scanner sc = new Scanner(System.in); int num = sc.nextInt(); int sum = 0, count = 0; for (int i=0; sum
139 : 반복제어문2 - 형성평가A Java 123456789101112131415161718192021222324import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int num1 = sc.nextInt(); int num2 = sc.nextInt(); if (num1
138 : 반복제어문2 - 형성평가9 Java 1234567891011121314import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int size = sc.nextInt(); for (int i=1; i
137 : 반복제어문2 - 형성평가8 Java 123456789101112131415import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int vertical = sc.nextInt(); int horizon = sc.nextInt(); for (int i=1; i
136 : 반복제어문2 - 형성평가7 Java 1234567891011import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int num = sc.nextInt(); for (int i=1; i
135 : 반복제어문2 - 형성평가6 Java 12345678910111213141516171819202122232425262728293031323334353637383940import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int num1 = sc.nextInt(); int num2 = sc.nextInt(); int sum = 0, count = 0; double avg = 0; if (num1
134 : 반복제어문2 - 형성평가5 Java 1234567891011121314151617181920import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int num = 0; int count_even = 0, count_odd = 0; for (int i=0; i
133 : 반복제어문2 - 형성평가4 Java 1234567891011121314151617181920import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int time = sc.nextInt(); int score = 0; int sum = 0, count = 0; double avg = 0; for (int i=0; i