参考答案:
采用C语言编程实现:
#include<stdio.h>
main()
{
int see, min;
float money;
scanf("本次的通话时间是%d分%d秒" , &min, &sec);
if(min<C||(min==C and sec==0))
money=0.B;
else if(sec==0)
money=0.B+0.A* (min-C);
else
money=0.B+0.A*(min+A-C);
printf("本次的通话费是%d" , money);
}
我来回答:
最新试题