From 9a7faa21c9937d7802afac993fcb3c04a4dd2d6b Mon Sep 17 00:00:00 2001 From: Bohdan Yanchyk Date: Fri, 13 Mar 2020 17:27:40 +0000 Subject: [PATCH] =?UTF-8?q?Smazat=20=E2=80=9Eprogram.c=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- program.c | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 program.c diff --git a/program.c b/program.c deleted file mode 100644 index cf5a978..0000000 --- a/program.c +++ /dev/null @@ -1,30 +0,0 @@ -#include -#include -#include -int main() -{ - float x=0; - float value =0; - int count =0; - float arr[50]; - while(scanf("%f",&value)!=EOF){ - if(isalpha(value)!=0){ - return 0; - } - if(count !=0){ - arr[count-1]=value; - } - else{ - x=value; - } - count++; - } - value=0; - for(int i =0;i