From 1b5225eb40d6a2dee680b1c467b56ef323ce0060 Mon Sep 17 00:00:00 2001 From: vj586da Date: Fri, 22 Oct 2021 00:20:41 +0200 Subject: [PATCH] dalsi debugging --- cv3/program.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cv3/program.c b/cv3/program.c index 69a2e9a..e677b5a 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -78,15 +78,15 @@ int main(){ } else if(isdigit(char_value[0]) != 0 ){ float_value = strtof(char_value, NULL); //printf("float value: %f\n",float_value); - if(float_value == 0){ + /*if(float_value == 0){ puts("bad input"); - break; - } else { + break;*/ + //} else { push_stack(&myStack,float_value); print_stack(&myStack); printf("\n"); continue; - } + } else { puts("bad input"); break;