190628 반복문 연습
/////////////두 개의 수를 입력받고 첫번째 수가 짝수 이면 두 수를 더하고 아니면 error System.out.print("첫번째 수를 입력>>"); Scanner scan = new Scanner(System.in); String tmp = scan.nextLine(); int num1 = Integer.parseInt(tmp); System.out.print("두번째 수를 입력>>"); String tmp1 = scan.nextLine(); int num2 = Integer.parseInt(tmp1); if(num1 %2 ==0 ) { int sum = num1+num2; System.out.println(sum); }else if(num1%2 ==1) System.out.println(..
JAVA
2019. 6. 28. 14:09
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- spring 엑셀
- poi
- 정규식 특수문자
- jQuery
- ''찾기
- select제어
- 정규식
- 인텔리제이
- JSON
- poi 엑셀
- 계좌번호정규식
- spring error #
- SpringXmlModelInspection
- IntelliJ #gradle #tomcat #spring #springmvc
- selectbox
- POI EXCEL
- 정규식 숫자만
- PageNotFound - No mapping for GET
- Spring
- JSON파싱
- Regex
- 이메일 정규식
- 엑셀다운로드
- JSON날짜
- no getter for property named
- js
- 공백찾기
- mybatis
- 정규식 한글만
- Failed to load resource: the server responded with a status of 404 (Not Found)
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함