I have written this code for selecting an action and to be processed by clicking the calculate button and resetting the field by clicking the reset but unfortunately, it is