Изменил(а) на 'du3/program.c'
This commit is contained in:
parent
01529e3ba9
commit
cce38edfb8
@ -48,7 +48,7 @@ int main(){
|
|||||||
|
|
||||||
num+=p*n;
|
num+=p*n;
|
||||||
}
|
}
|
||||||
//num=round(num*100)/100;
|
num=round(num*100)/100;
|
||||||
|
|
||||||
printf("%.2Lf\n", num);
|
printf("%.2Lf\n", num);
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
|
Loading…
Reference in New Issue
Block a user