C: Modify a calculator program to loop until user quits.

Subscribers:
772
Published on ● Video Link: https://www.youtube.com/watch?v=ukKCOO8ITSM



Duration: 3:02
4 views
1


Modify the last example in the chapter that implemented a calculator so that the user is given the option to enter y or Y to carry out another calculation, and n or N to end the program. (Note: You’ll have to use a goto statement for this here, but you’ll learn a better way of doing this in the next chapter.)

Git repo: https://github.com/pereiradaniel/beginning_c/blob/master/ch3/exercises/3_4/exercise3_4.c
Blog: https://pereiradpg.blogspot.com/2023/01/c-modify-calculator-program-to-loop.html







Tags:
C language
programming
tutorial
short program
examples
calculator
repeat program