15 lines
216 B
C
15 lines
216 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);
|
|
|
|
}
|