diff --git a/du3/program.c b/du3/program.c index ec7bd1c..c557bdb 100644 --- a/du3/program.c +++ b/du3/program.c @@ -60,9 +60,9 @@ int main() { struct stack* novystack = create_stack(STACK_SIZE); push_stack(novystack, 3,14); push_stack(novystack, 2.71); - float x = pop_stack(mystack); + float x = pop_stack(novystack); printf("Popped: %2.f\n", x); - print_stack(mystack); + print_stack(novystack); destroy_stack(novystack); return 0; } \ No newline at end of file