티스토리 뷰

학습정리-12-22.txt
0.00MB

1. 게시판을 스프링으로 구현하시오.
list -> write -> delete -> update -> reply 

 

왜 안되냐 replyshape........................

 

 

 


2. JS 국영수 를 입력 받아, Grade 생성자를 만들어서 총점과 평균을 구하시오.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
        function Grade(kor, eng, math){
            this.kor = kor;
            this.eng = eng;
            this.math = math;
 
            this.sum = function(){
                return (kor + eng + math);
            };
 
            this.avg = function(){
                return this.sum() / 3.0;
            };
        }
 
        let kor = Number(prompt("국어점수를 입력하세요."0));
        let eng = Number(prompt("영어점수를 입력하세요."0));
        let math = Number(prompt("수학점수를 입력하세요."0));
        let test = new Grade(kor, eng, math);
        console.log("총점: " + test.sum());
        console.log("평균: " + test.avg());
cs

개별진척도는
위의 1번과 2번 돌리겠습니다. 

-개별진척도 73번
-개별진척도(JS) 6번

공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
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
글 보관함