문제 > 해결방안 >package pack_Array; > import java.util.Scanner; > > public class Average { > public static void main(String[] args) { > Scanner scanner = new Scanner(System.in); > int[] num; num = ...
문제 > 해결방안 >>package pack_Array; > >import java.util.Scanner; > public class Sum { > public static void main(String[] args) { > Scanner scanner = n
문제 > 해결방안 > 결과 >
문제 > 해결방안 > 결과 >
문제 > 해결방안 > 결과 >
문제 > 해결방안 > 결과 >
문제 > 해결방안 > 결과 >
Scanner를 이용하여 합격률 계산 >## 문제 >## 답안 >## 출력 결과
문제 > 해결방안 >package pack_If; > import java.util.Scanner; > public class IfBasic { > public static void main(String[] args) { > Scanner scanner = new Scanner(System.in); > System.out.print("숫자를 입력...
문제 > 해결방안 >package pack_While; > public class NumberPrint { > public static void main(String[] args) { > int i = 1; > while (i } > } 결과 >
문제 > 해결방안 > package pack_If; > import java.util.Scanner; > public class IfBasic { > public static void main(String[] args) { > Scanner scanner = new Scanner(System.in); > System.out.print("숫자를 입...
문제 > 해결방안 > package pack_While; > public class NumberPrint { > public static void main(String[] args) { > int i = 1; > while (i > System.out.print(i + " "); > i++; } > } > } 결과 >
문제 > 해결방안 >package pack_For; > import java.util.Scanner; > > > > public class ForBasic { > public static void main(String[] args) { > Scanner scanner = new Scanner(System.in); > System.out.print...
문제 > 해결방안 >package pack_ForDrill; > import java.text.DecimalFormat; import java.util.Scanner; > public class ForEvenNumber { > public static void main(String[] args) { > Scanner scanner = new Scan...
문제 > 해결방안 > package pack_Condition; > import java.util.Scanner; > public class Break { > public static void main(String[] args) { Scanner scanner = new Scanner(System.in); > int count =0; for ...
문제 > 해결방안 > import java.util.Scanner; > public class Main { > public static void main(String[] args) { > int a = 0; int b = 0; > Scanner scanner = new Scanner(System.in); a = scanner.nextInt...
문제 > 해결방안 >import java.util.Scanner; > > public class Main { > public static void main(String[] args) { > Scanner scanner = new Scanner(System.in); > int a = scanner.nextInt(); String b = scan...
문제 > 해결방안 > import java.util.Scanner; > public class Main { > public static void main(String[] args) { Scanner scanner = new Scanner(System.in); > int x = scanner.nextInt(); > int sum = 0; > ...
문제 > 해결방안 >import java.util.Scanner; > public class Main { > public static void main(String[] args) { > Scanner scanner = new Scanner(System.in); > int n = scanner.nextInt(); > scanner.close()...
문제 > 해결방안 >import java.util.Scanner; > public class Main { > public static void main(String[] args) { > Scanner scanner = new Scanner(System.in); > int t = scanner.nextInt(); > for (int i = 1;...
문제 > 해결방안 > import java.util.Scanner; > public class MtdDrill { > public static void main(String[] args) { > Scanner scanner = new Scanner(System.in); > System.out.print("정수를 입력하세요 : "); int n...
문제 > 해결방안 > import java.util.Scanner; > public class Exchange { > public static void main(String[] args) { > Scanner scanner = new Scanner(System.in); System.out.print("기준환율 입력 : "); int num1 ...
main.javaBasic.java
Main2.javaEmployRate.java
TempMain.javaTempCalc.java
public class MainA {입력값이 들어올때까지 while문 내부가 실행되지 않다가입력값이 들어와 hasNextInt()가 true를 리턴한후에 while문이 실행됨
import java.util.Scanner;public class Main {}package pack_Interface;public interface Distribute {}