일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- MariaDB
- 유효성
- REST
- 자바 로또
- ${}
- nodejs
- map형태 jsp와 mapper
- git message
- 전역객체
- cmd mariaDB
- resultType="hashmap"
- 최대값 최소값
- templet
- git 명령어
- 알고리즘
- SQL
- gradle 설치
- nodejs http
- 자바 예상문제
- git
- bubblesort
- interface default
- 포워드 엔지니어링
- a href="#" onclick="return false"
- BCrypt
- $(document).on
- #{}
- container-fluid
- $('input [name=
- it지원
- Today
- Total
목록알고리즘 (3)
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]..
public class MakeStarPyramid { public static void main(String[] args) { System.out.printf("별 갯수를 입력하세요"); int num = Integer.parseInt(new Scanner(System.in).next()); new MakeStarPyramid().getStar(num); } private void getStar(int num) { for(int i=0; i
1234567891011121314151617181920212223242526272829303132333435package perfectNum; import java.util.Scanner; public class PerfectNum { public static void main(String[] args) { PerfectNum pNum = new PerfectNum(); Scanner sc = new Scanner(System.in); System.out.println("자연수 입력"); int num = sc.nextInt(); pNum.number(num); } public void number(int num) { int sum = 0; int i; //약수 : 정수로 나누었을때 나머지가 0인 수의..