This commit is contained in:
Igor Dzuro 2020-03-20 00:14:26 +01:00
parent 2b9c2807b3
commit 566075e702
2 changed files with 15 additions and 0 deletions

BIN
a1/program Executable file

Binary file not shown.

15
a1/program.c Normal file
View File

@ -0,0 +1,15 @@
#include <stdio.h>
int main(){
double x ;
double a ;
double b ;
double c ;
scanf("%lf",&x);
scanf("%lf",&a);
scanf("%lf",&b);
scanf("%lf",&c);
double r = (a*(x*x))+(b*x)+c;
printf ("Vysledok je %.2lf \n",r);
}