pvjc20/a1/program.c

15 lines
216 B
C
Raw Normal View History

2020-03-19 23:14:26 +00:00
#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;
2020-03-19 23:16:55 +00:00
printf ("Vysledok je :%.2lf\n",r);
2020-03-19 23:14:26 +00:00
}