I have a c program that asks for some inputs from the user (in terminal) and outputs a message. For simplicity, lets assume that my program is this calculator example: