일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- keras
- DFS
- pycharm
- GT-S80
- CNN
- RNN
- mariadb
- 알고리즘
- synology
- Series
- Button
- E-P1
- dataframe
- install
- Numpy
- pip
- SciPy
- mean
- imread
- 삼성소프트웨어멤버십
- Python
- index
- javascript
- SPL
- Splunk
- LSTM
- GitHub
- pandas
- Lotto
- ipad
Archives
- Today
- Total
잠토의 잠망경
Ex2 본문
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.println("3의 배수입니다."); break; } } } catch (Exception e) { System.out.println("에러다:Because: " + e); } finally { System.out.println("프로그램 끝"); } } }
Comments