From 0fa3a58d5c3d659864980a96c15f6eb4bdfa611d Mon Sep 17 00:00:00 2001 From: kr820js Date: Sun, 3 Mar 2024 18:20:17 +0100 Subject: [PATCH] submit14 --- cv3/program.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cv3/program.c b/cv3/program.c index 6f0359a..bdacbb1 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -32,20 +32,19 @@ int main() return 0; } for(int j=1; j='0'&&buffer[j]<='9') { continue; @@ -57,6 +56,7 @@ int reading_input(double *number){ buffer[j]='\0'; break; } + return 0; } if(buffer[0]=='\0'){