private int myLifeRecursion(int motivation){ if(motivation <= 1){ return 1 } else { return (motivation * myLifeRecursion(motivation - 1)); }}내 인생의 base case는 항상 1이라서.내 motivation에겐 0 이란 숫자는 exception.
댓글 0