I'm trying to create a calculator that uses a text user interface. I have the interface writtern the way I want for now. Now I need help on writting the calculation code.
Would main() contain something like the code below?
Thank youCode:char operation; int quit = 0; while(!quit) { while(operation != '=') { getNumber(); getOperation(); } performCalculations(); }