diff --git a/du4/program.c b/du4/program.c index e5d752c..9c423a9 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++; }