Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 자바 로또
- MariaDB
- nodejs
- ${}
- git 명령어
- templet
- 포워드 엔지니어링
- git
- nodejs http
- map형태 jsp와 mapper
- a href="#" onclick="return false"
- $(document).on
- bubblesort
- container-fluid
- 유효성
- gradle 설치
- 최대값 최소값
- BCrypt
- $('input [name=
- 자바 예상문제
- it지원
- SQL
- interface default
- resultType="hashmap"
- 전역객체
- #{}
- 알고리즘
- git message
- REST
- cmd mariaDB
Archives
- Today
- Total
목록최대값 최소값 (1)
Rubberduck-Debugging
[알고리즘] 삼항연산자, 최대값 최소값
1234567891011121314151617181920public class MinMax { private int[] score; private int max ; private int min; private void minMax() { //1. 수학과 학생들의 기말고사 시험 점수 score = new int[]{79,88,97,54,56,95}; max = score[0]; //79 min = score[0]; //79 for(int i:score) { max = (score[i] > max) ? score[i] : max; min = (score[i] max인 경우가 참이면, ? 앞 값이 최대값. 거짓이면 score[i]가 최대값.min 역시, score[0]번째 값보다 더 작은 수의 score[i]..
개발자/20181127 교육과정
2018. 12. 17. 17:34