기본 틀 : using System;public class Solution { public int solution(int storey) { int answer = 0; return answer; }} 문제를 보고 while문을 사용해 storey가 0이 아닐 경우 반복 작업 하도록 만들어줬다. while(storey != 0) { } 그리고 반복문 안에 storey % 10으로 현재 남은 층수를 구해줬다. int num = storey % 10; storey /= 10; 해당 남은 층수가 5초과이면 5층 위로 올라가고, 5미만이면 5층 내려가는 식으로 코드를 작성해줬다. ..