Update 'cv3/program.c'
This commit is contained in:
parent
800c6fe9e8
commit
e1914e11e5
@ -24,6 +24,7 @@ int main(void) {
|
||||
str[strlen(str) - 1] = 0;
|
||||
// if number
|
||||
if(strlen(str) > 1 || (str[0] >= '0' && str[0] <= '9')) {
|
||||
my_exit(p_stack->size >= STACK_SIZE, "full stack");
|
||||
my_exit(str[0] == '.', "bad input");
|
||||
float res = 0.f;
|
||||
int dots = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user