반응형
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 |
31 |
Tags
- sklearn
- 자바스크립트
- 웹앱
- dataframe
- 자바
- 백준
- list
- 정보처리기사
- 머신러닝
- pandas
- APPEND
- pds
- Req
- 정처기
- SOUP
- java
- crawling
- regressor
- request
- BeautifulSoup
- ensemble
- Intellij
- 크롤링
- 비전공자
- springboot
- javascript
- 정보처리기사필기
- AWS
- lombok
- BS
Archives
- Today
- Total
No sweet without sweat
[프로그래머스] - 두 수의 나눗셈 본문
728x90
반응형
public class Solution {
public int solution(int num1, int num2) {
int answer2 = 0;
double answer = answer2;
answer = (double)num1/(double)num2 * 1000;
System.out.println((int)answer);
return (int) answer;
}
public static void main(String[] args) {
Solution solution = new Solution();
solution.solution(3, 2);
}
}
728x90
반응형
'프로그래머스' 카테고리의 다른 글
[level 2] 전화번호 목록 - 42577 (0) | 2024.05.12 |
---|---|
[Level 1 - 내적] : IntStream.range (0) | 2024.03.03 |
[LV.1 프로그래머스] 약수의 합 (0) | 2023.01.17 |
[LV.1 프로그래머스] 크기자 작은 부분문자열 (0) | 2023.01.16 |
[Lv.1 프로그래머스] 개인정보 수집 유효기간 (0) | 2023.01.15 |
Comments