diff --git a/a1/program b/a1/program new file mode 100755 index 0000000..d6d3b50 Binary files /dev/null and b/a1/program differ diff --git a/a1/program.c b/a1/program.c new file mode 100644 index 0000000..1975d67 --- /dev/null +++ b/a1/program.c @@ -0,0 +1,15 @@ +#include + +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); + +} \ No newline at end of file