|
java.awt.*;
import java.awt.event.*;
public class Jv_8_b6 extends Frame implements ActionListener {
Label lb, lb6, label1, label2, label3;
TextArea ta2;
Frame frm;
Panel p,p2;
public Jv_8_b6() {
setTitle("저수준 이벤트 처리(컨테이너 이벤트)에 온 것을 환영합니다!");
setLayout
|
- 페이지 10페이지
- 가격 2,000원
- 등록일 2008.01.30
- 파일종류 압축파일
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
과제 2. 숫자 하나를 입력 받아 그 수가 1이면 “남성”, 2이면 “여성” 이라는 글자를 출력하는 프로그램을 만들어 보자.
import java.io.*;
public class Round05_02 {
public static void main(String[] ar) throws IOException {
int dist = 0;
System.out.prin
|
- 페이지 2페이지
- 가격 1,000원
- 등록일 2008.11.11
- 파일종류 워드(doc)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
과제 1. 하나의 문자를 입력받아 그것의 charged 문자와 아스키 코드 값을 표시하는 예제를 만들어 보자.
import java.io.*;
public class Round04_01 {
public static void main(String[] ar) throws IOException {
char data = 0;
System.out.print(
"키보드에서 아
|
- 페이지 2페이지
- 가격 1,000원
- 등록일 2008.11.11
- 파일종류 워드(doc)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
java.util.*;
public class palindrome
{
public static void main(String[] args)
{
String a=null;
char[]b = new char[80]; // b[]배열 선언 (80)크기로 조정.
Scanner keyboard = new Scanner(System.in);
while(2>1) // while문을 쓰는 이유는 사용자가 프로그램을 종료할때까지 반복하도록 하
|
- 페이지 35페이지
- 가격 3,000원
- 등록일 2011.05.12
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
new Scanner(System.in);
System.out.print(\"임의의 정수 입력: \");
int num = s.nextInt();
s.close();
int count=0;
for(int j=1; j<=num/2; j++)
if(num%j==0) count++;
System.out.print(count==1 ? \"소수입니다.\" : \"소수가 아닙니다.\");
}
} 1. 6장 내용점검
2. 6장 프로그래밍 연습
|
- 페이지 19페이지
- 가격 2,000원
- 등록일 2008.06.10
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
= i;
}
}
if(minIndex != start) {
int dummy;
dummy = input[start];
input[start] = input[minIndex];
input[minIndex] = dummy;
}
start++;
}
System.out.print(\"정렬의 결과는 ==> \");
for(int i=0; i<n; i++) {
System.out.print(input[i] + \" \");
}
}
} 1. 7장 내용점검
2. 7장 프로그래밍 연습
|
- 페이지 18페이지
- 가격 2,000원
- 등록일 2008.06.10
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
입력: \");
String str2 = s.next();
s.close();
System.out.print(\"\\n두 문자열을 연결한 결과\");
System.out.print(\"=> \" + str(str1,str2));
}
public static String str(String str1, String str2) {
String str3 = str1 + str2;
return str3;
}
} 1. 9장 내용점검
2. 9장 프로그래밍 연습
|
- 페이지 19페이지
- 가격 2,000원
- 등록일 2008.05.31
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
+\"인=> \" + a.model + \": \" + a.getArea());
System.out.println(\"반지름: \" + b.radius() +\"인=> \" + b.model + \": \" + b.getArea());
System.out.println(\"반지름: \" + c.radius() +\"인=> \" + c.model + \": \" + c.getArea());
}
} 1. 11장 내용점검
2. 11장 프로그래밍 연습
|
- 페이지 11페이지
- 가격 2,300원
- 등록일 2008.06.01
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
+ \" 의 비트 표현은 \\t\\t\");
printBit(value1);
}
public static void printBit(int n) {
for(int i =31; i>=0; i--) {
System.out.print( ((n & (1<<i)) == 0) ? 0 : 1);
if(i%8 ==0) System.out.print(\" \");
}
System.out.println();
}
} 1. 5장 내용점검
2. 5장 프로그래밍 연습
|
- 페이지 23페이지
- 가격 3,000원
- 등록일 2008.05.31
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
{
System.out.println(\"높이의 길이를 입력하세요\");
vertical = scan.nextInt();
triangle a= new triangle();
a.draw(0,vertical);
}
if(num==1) //사각형일 1. 프로그램 명세
2. 소스코드
3. 출력결과
1)삼각형 출력화면
2)사각형 출력화면
3)오각형 출력화면
|
- 페이지 7페이지
- 가격 2,000원
- 등록일 2020.12.08
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|