https://www.acmicpc.net/problem/20302 20302번: 민트 초코 상원이가 고른 디저트가 “민트 초코”인 경우 mint chocolate, “치약”인 경우 toothpaste를 출력한다. www.acmicpc.net 틀렸습니다 int 값만 빼면 정수인지 판별되지 않을까? 했는데 통과 안됨 왜일까 #include #include using namespace std; int main() { int n; cin>>n; float p; char c; cin>>p; float sum=p; for(int i=0;i>c>>p; if(c=='*'){ sum*=(double)p; } if(c=='/'){ sum/=(double)p; } } if((abs(sum)-(int)abs(sum))>0)..