a1
This commit is contained in:
parent
2b9c2807b3
commit
566075e702
BIN
a1/program
Executable file
BIN
a1/program
Executable file
Binary file not shown.
15
a1/program.c
Normal file
15
a1/program.c
Normal 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);
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user