1. Student.java package ScoreMana; public class Student { String Name, Bun, Friend, Movie, Food, Music; int kor, eng, math, sci; double sum, avg; public Student(String name, String bun, int kor, int eng, int math, int sci, String food, String music, String friend, String movie) { this.Name = name; this.Bun = bun; this.kor = kor; this.eng = eng; this.math = math; this.sci = sci; this.Food = food;..
AWT 를 이용하여 도서관리시스템 제작 1. Book.java package Library; public class Book { String bookTitle, author, publisher; int price, publYear; int sum, avg; public void SetBook(String bt, String at, int price, int chulyear, String chulpansa) { this.bookTitle = bt; this.author = at; this.price = price; this.publYear = chulyear; this.publisher = chulpansa; } public void output() { String out = ""; out = "제목= "..
AWT 를 사용하여 강수량을 계산하는 프로그램입니다. 1. Rainfall.java package Rain; public class Rainfall { String year;// 연도 String whether;// 기상현상 int six, seven, eight, nine;// 6,7,8,9 int sum;// 총강우량 double avg;// 평균강우량 public void SetRainfall(String y, String wh, int six, int seven, int eight, int nine) { this.year = y; this.whether = wh; this.six = six; this.seven = seven; this.eight = eight; this.nine = nine; }..