这个这个代码代码错错哪哪了了呀呀 棒棒忙忙给给看看一一下下吧 谢谢啦啦
收起
#include<stdio.h> int main() { int x; double t,f; scanf("%d",&x); if(x<=50&&x>0) { t=x*0.53; printf("cost = %.2lf",t); }else if(x<0){ printf("Invalid Value!"); }else{ f=26.5+(x-50)*0.58; printf("cost = %.2lf",f); } return 0; }
报告相同问题?