Изменил(а) на 'du3/program.c'
This commit is contained in:
parent
01481823df
commit
1a4d3e8e11
@ -34,7 +34,7 @@ int main(){
|
||||
char *end = NULL;
|
||||
char *start = pol;
|
||||
x=strtof(start,&end);
|
||||
x=(round(x*100))/100;
|
||||
x=(round(x*1000))/1000;
|
||||
start=end;
|
||||
|
||||
long double num=0;
|
||||
@ -42,7 +42,7 @@ int main(){
|
||||
long double p=1, n=0;
|
||||
n=strtof(start,&end);
|
||||
start=end;
|
||||
n=(round(n*100))/100;
|
||||
n=(round(n*1000))/1000;
|
||||
|
||||
p=pow(x,(koef-i)-1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user