728x90
반응형
자바
-
[Java 자바] 프로그래머스 Lv 0 - 두 수의 나눗셈Study/Java 2024. 9. 24. 11:57
코딩테스트 연습 | 프로그래머스 스쿨개발자 취업의 필수 관문 코딩테스트를 철저하게 연습하고 대비할 수 있는 문제를 총망라! 프로그래머스에서 선발한 문제로 유형을 파악하고 실력을 업그레이드해 보세요!school.programmers.co.kr 목차문제 설명입출력 예시문제 풀이 1. 문제 설명 문제 설명정수 num1과 num2가 매개변수로 주어질 때, num1을 num2로 나눈 값에 1,000을 곱한 후 정수 부분을 return 하도록 soltuion 함수를 완성해주세요. 제한사항0 num1 ≤ 1000 num2 ≤ 100 2. 입출력 예시 입출력 예시#1 num1이 3, num2가 2이므로 3 / 2 = 1.5에 1,000을 곱하면 1500이 됩니다. #2num1이 7, num2가 3이..