일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- CNN
- 삼성소프트웨어멤버십
- Splunk
- Python
- GitHub
- Button
- mariadb
- keras
- javascript
- mean
- pip
- ipad
- pycharm
- E-P1
- pandas
- GT-S80
- RNN
- LSTM
- Numpy
- install
- index
- 알고리즘
- DFS
- SPL
- Series
- Lotto
- SciPy
- dataframe
- imread
- synology
- Today
- Total
목록공부/Java (6)
잠토의 잠망경
import java.util.*; public class ex5 { /** * @param args */ public static int[] a; public static void main(String[] args) { // TODO Auto-generated method stub Random rnd=new Random(System.currentTimeMillis()); a=new int[10]; for(int i=0;i
import java.io.*; public class ex5 { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub try{ BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); int inVal=0; while(true){ System.out.println("1: inch to cm"); System.out.println("2: 5배수인가? "); System.out.println("3: 종료 "); System.out.println(">> "); inVal = Integer.parseInt(in.rea..
import java.util.Random; import java.io.*; public class ex4 { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub try{ BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); Random rnd=new Random(System.currentTimeMillis()); int mark=rnd.nextInt(200); int count=10;//루프 카운터 int inVal=0;//입력변수 System.out.print("랜덤수는 "+mark); while(cou..
import java.io.*; public class ex3 { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); int inVal = 0; try { do { System.out.print("정수를 입력해주세요.: "); inVal = Integer.parseInt(in.readLine());//try catch 문이 안쓸경우 error를 내보낸다. if (100 == inVal) { System.out.println("100이 입력되었습니다.");..
import java.io.*; public class ex2 { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); int inVal = 0; try { while (true) { System.out.print("정수를 입력하세요: "); inVal = Integer.parseInt(in.readLine()); if ((inVal % 3) != 0) System.out.println("3의 배수가 아닙니다."); else { System.out.prin..
import java.io.*; public class ex1 { /** * @param args * @throws IOException * @throws NumberFormatException */ public static void main(String[] args) throws NumberFormatException, IOException { // TODO Auto-generated method stub try { BufferedReader in = new BufferedReader(new InputStreamReader( System.in)); // stdin을 통해서 입력을 받는다는 얘기 int inVal = 0;// 숫자 저장문 System.out.print("정수입력:");// 입력출력문 in..