Calculator Code block not working as expected

One reason I declare the strings in the void is that I want it to reset if I go out and in of it