Aktualizovat „a1/program.c“

This commit is contained in:
Bohdan Yanchyk 2020-03-15 17:44:41 +00:00
parent 73776adc26
commit d160866e90

View File

@ -4,7 +4,7 @@
int main()
{
double x=0;
double value =0;
long double value =0;
int count =0;
double arr[50]={0};
scanf("%lf",&x);
@ -23,7 +23,7 @@ int main()
if(value>=40000&&value<=1000000){
value =((int)(value*100 - 0.5)/100.00);
}
printf("Vysledok je :%.2lf\n",value);
printf("Vysledok je :%.2Lf\n",value);
return 0;