From 5be4b3e9da9798f94d4712c0008ac87023cd564b Mon Sep 17 00:00:00 2001 From: Andrii Hermaniuk Date: Sun, 27 Mar 2022 14:51:57 +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 9c9f236..e5d752c 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'){ + while((*start)<'0'||(*start)>'9'||(*start)=='-'){ start++; }