C语言 综 合 改 错 题

img

img

img

img

img

img

错误均在/found/下第一行
1

j=0; 
改为: 
j=1;
m=t%y; 
改为:
m=j%y;

2

while(fabs(t)<=num){ 
改为 :
while(fabs(t)>=num){
t=s*n; 
改为: 
t=s*(1/n);

3

void fun(long s, long t) 
改为: 
void fun(long s, long *t)
s1=s1*100; 
改为: 
s1=s1*10;

4

for(i=1;i<d;i++)
改为: 
for(i=0;i<d;i++)
t[2*d]='0';
改为:
t[2*d]='\0';

5

fun(double *a, *b){ 
改为:
int fun(double *a, double *b){
if (a*b>0.0) 
改为:
if (*a * *b>0.0)