나머지 구하기

화낼거양's avatar
Nov 13, 2024
나머지 구하기
Contents
문제정답
 

문제

 
 
notion image
 
 
#include <stdio.h> #include <stdbool.h> #include <stdlib.h> int solution(int num1, int num2) { int answer = -1; return answer; }
 
 

정답

 
#include <stdio.h> #include <stdbool.h> #include <stdlib.h> int solution(int num1, int num2) { int answer = num1%num2; return answer; }
Share article

moohyun