how to show output in a text box. the output is an integer