Изменить 'a1/program.c'
This commit is contained in:
parent
f72e77fe5a
commit
6177b98784
@ -24,7 +24,7 @@ int main()
|
|||||||
result=(long double)(result/100);
|
result=(long double)(result/100);
|
||||||
result=round(result*1000)/1000;
|
result=round(result*1000)/1000;
|
||||||
}
|
}
|
||||||
printf("Vysledok je :%Lf\n",result);
|
printf("Vysledok je :%.2Lf\n",result);
|
||||||
free(array);
|
free(array);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user