코딩테스트/프로그래머스(JAVA)

프로그래머스 스쿨 코딩테스트 Lv. 0 나머지 구하기 java 문제 풀이

쏠솔랄라 2023. 4. 10. 08:39

 

 

프로그래머스 스쿨 코딩테스트 단계별로 풀어보기

Lv. 0 나머지 구하기 문제 자바 풀이입니다

 

 

https://school.programmers.co.kr/learn/courses/30/lessons/120810
 

프로그래머스

코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.

programmers.co.kr


 

 


 

 

문제

 

 

 

class Soution {

public int solution (int num1, int num2) {

return num1%num2;

}

}

 

=>

단순한 문제라서 바로 리턴값으로 주어서 풀이

 

 


 

 

Lv. 0 두 수의 합 https://developernew.tistory.com/127

Lv. 0 두 수의 차 https://developernew.tistory.com/128

Lv. 0 두 수의 곱 https://developernew.tistory.com/129

Lv. 0 몫 구하기 https://developernew.tistory.com/130

 

Lv .0 두 수의 나눗셈 https://developernew.tistory.com/131

Lv. 0 숫자 비교하기 https://developernew.tistory.com/132

Lv. 0 분수의 덧셈 https://developernew.tistory.com/134

Lv. 0 배열 두 배 만들기 https://developernew.tistory.com/134