일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- tempDB
- join
- JavaScript
- jdbc driver
- 이미지가로길이
- 인젝션
- FileSystemObject
- VARIABLE
- SPLIT
- VarType
- update
- wap
- asp함수
- sql업데이트
- 이미지세로길이
- 정규식
- injection
- javascript 한글입력체크
- array
- inner join
- XML
- MSSQL보안
- xmldom
- instr
- sql순위
- WML
- 자바기초
- ERD
- 한글입력체크
- sql랭킹
- Today
- Total
목록전체 글 (384)
3초기억력
//while문 무한반복 //while(true) {} //무한적으로 정수를 입력받아서 // 0을 입력하면 프로그램 종료!! import java.util.Scanner; public class WhileEx_2 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(true) { System.out.print("정수입력 : "); int a = sc.nextInt(); System.out.println("입력값 : "+ a); if (a == 0) { System.out.println("반복 종료!"); break; } } } }
//* //** //*** public class WhileEx_1 { public static void main(String[] args) { int i = 1; while(i < 4) { int j = 1; while(j
// 2단 부터 9단까지 public class WhileEx { public static void main(String[] args) { int x = 2; while(x < 10) { int y = 1; while(y < 10) { System.out.println(x + " * " + y + " = " + (x * y)); y++; } x++; System.out.println(); } } }
// 정수를 무한적으로 입력받다가 8의 배수가 5개 입력되면 반복문 종료하기 import java.util.Scanner; public class ForEx_1 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int count = 0; for(;;) { System.out.println("정수입력1 > "); int b = sc.nextInt(); if (b % 8 == 0) { count++; } if (count == 5) break; } System.out.println("반복종료11!"); System.out.println("========================="); Scanner input2 ..