This commit is contained in:
Andrii Hermaniuk 2022-03-27 14:59:58 +02:00
parent cd987341c9
commit 85f7274de4

View File

@ -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++;
}