16 lines
217 B
C
16 lines
217 B
C
#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);
|
|
|
|
}
|