展开全部#include int main(void){ int loop,m,n,ri,s[10];double a,b,c,d;scanf("%d",&loop);for(ri=1;ri;ri+){ int up=0,down=0;加两个变量,便于理解 scanf("%lf%lf%lf%lf",&a,&b,&c,&d);double用%lf longfloat if(c>a&c>b...
把scanf中的\n删除,还有一些其它修改: include include include include float m,n,sum;int func(int a){ m是本金,n是利息,sum是总数。int x[4]={0,30,90,365};n=(m*0.04331)/365;sum=n*x[a];switch(a) { case 1:printf("您的收益是%.2f=m*n*30\n...