From 85f7274de4ac2fef5e97131a52193b8c290f4137 Mon Sep 17 00:00:00 2001 From: Andrii Hermaniuk Date: Sun, 27 Mar 2022 14:59:58 +0200 Subject: [PATCH] aaa --- du4/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du4/program.c b/du4/program.c index 9c423a9..e50a49e 100644 --- a/du4/program.c +++ b/du4/program.c @@ -23,7 +23,7 @@ int main(){ float num2=strtof(start,&end); start=end; - while((*start)<'0'||(*start)>'9'||(*start)!='-'){ + while(((*start)<'0'||(*start)>'9')&&(*start)!='-'){ start++; }