본문 바로가기

카테고리 없음

프로그래머스_0단계_정수 부분 C++

 

문제풀이:

#include <string>
#include <vector>

using namespace std;

int solution(double flo) {
    int answer = 0;
    answer =flo/1;
    return answer;
}