以下程序实现这样的功能:商店卖西瓜, 10 斤以上的每斤 0.15 元, 8 斤以上的每斤 0.3 元, 6 斤以上的每斤 0.4 元, 4 斤以上的每斤 0.6 元, 4 斤以下的每斤 0.8 元,从键盘输入西瓜的重量和顾客所,则输出应付款和应找钱数。请在【】内填入正确内容。 #include ” stdio.h ” main() { float weight, money, rate; printf( ” the paid money of the client is: ” ); scanf( ” %f ” ,&money); printf( ” the weight of the watermelon is: ” ); scanf( ” %f ” ,&weight); if ( 【 1 】 ) rate=0.15; else if (weight>8) rate=0.3; else if (weight>6) 【 2 】 ; else if (weight>4) rate=0.6; 【 3 】 rate=0.8; printf( ” the account payable of the watermelon is %f\n ” , weight*rate); printf( ” the change for client is %f\n ” ,money-weight*rate); }