int MonetaryGift(MYFRIEND him){
int i=0;
if(wedding){
switch(friendshippoint){
case 100:i++;
case 90:i++;
case 80:i++;
case 70:i++;
case 60:i++;
case 50:i++;
case 40:i++;
case 30:i++;
case 20:i++;
case 10:i++;
cout << ((i%2||i==10)?i:--i) << "만원";
}
}
return i;
}
int i=0;
if(wedding){
switch(friendshippoint){
case 100:i++;
case 90:i++;
case 80:i++;
case 70:i++;
case 60:i++;
case 50:i++;
case 40:i++;
case 30:i++;
case 20:i++;
case 10:i++;
cout << ((i%2||i==10)?i:--i) << "만원";
}
}
return i;
}
ㅡ.ㅡ;
제발 1년에 전/후반기 각 1명씩 두명만 장가가라고!!!
---
Update : 이봐 왜 9만원 내면 안되는거지? 10만원은 짝수잖아!!!
Posted by shiftkey


