求大神看看,帮帮我这个弱鸡
#include <stdio.h>
int main(){
double price=a;
int num=b;
float c=0;
scanf("%lf,%d",&a,&b);
c=num*price;
printf("应付款:%f\n",c);
return 0;
}
#include <stdio.h> int main(){ double price=0; double c=0; int num=0; scanf("%lf,%d",&price,&num); c=num*price; printf("应付款:%f\n",c); return 0; }
#include <stdio.h> int main(){ float price=0; float c=0; int num=0; scanf("%f,%d",&price,&num); c=num*price; printf("应付款:%f\n",c); return 0; }
!!!!!!!!!!!!!!!
看不清唉,你可以把代码粘贴出来