diff --git a/a1/program.c b/a1/program.c index c5ba820..0c64702 100644 --- a/a1/program.c +++ b/a1/program.c @@ -7,7 +7,7 @@ int main() int i,c; double x; long double result=0; - scanf("%lF",&x); + int n=scanf("%lF",&x); if(n!=1){ printf("Nepodarilo sa nacitat x\n"); return 0;