From 028aeecd5f01860d8344fc71ab339bf353156cdf Mon Sep 17 00:00:00 2001 From: Bohdan Yanchyk Date: Sun, 15 Mar 2020 17:38:58 +0000 Subject: [PATCH] =?UTF-8?q?Aktualizovat=20=E2=80=9Ea1/program.c=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- a1/program.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/a1/program.c b/a1/program.c index 8566a2a..cb76134 100644 --- a/a1/program.c +++ b/a1/program.c @@ -4,11 +4,11 @@ int main() { double x=0; - long double value =0; + double value =0; int count =0; - long double arr[50]; + double arr[50]; scanf("%lf",&x); - while(scanf("%Lf",&value)!=EOF){ + while(scanf("%lf",&value)!=EOF){ if(isalpha(value)!=0){ return 0; } @@ -16,7 +16,7 @@ int main() count++; } value=0; - for(int i =0;i