C: Modify a calculator program to loop until user quits.
Channel:
Subscribers:
772
Published on ● Video Link: https://www.youtube.com/watch?v=ukKCOO8ITSM
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
Other Videos By Daniel Pereira
2023-01-10 | C: Compact for loop. |
2023-01-10 | Bubble Bobble - C64 [50Hz] |
2023-01-10 | C64 gaming stream - 09/January/2023 |
2023-01-09 | C: Summing an array of integers. |
2023-01-09 | Heavenbound - C64 [50Hz] |
2023-01-08 | C: For loop off by one error demonstration. |
2023-01-08 | It's Magic 2 - C64 [50Hz] |
2023-01-07 | Pac-Land - C64 [50Hz] |
2023-01-07 | C: Looped program without using goto statement. |
2023-01-06 | Pac-Mania - C64 [50Hz] |
2023-01-06 | C: Modify a calculator program to loop until user quits. |
2023-01-05 | Super Pac-Man - C64 [50Hz] |
2023-01-05 | C: Calculate discount price based on quantity input by user. |
2023-01-04 | Jr. Pac-Man - C64 [50Hz] |
2023-01-04 | C: Program that formats date input by the user. |
2023-01-03 | Ms. Pac-Man - C64 [50Hz] |
2023-01-03 | Ms. Pac-Man - C64 [60Hz] |
2023-01-03 | C: Using scanf to assign more than one value. |
2023-01-02 | Pac-Man - C64 [60Hz] |
2023-01-02 | Pac-Man - C64 [50Hz] |
2023-01-02 | C: Ternary operator demonstration. |
Tags:
C language
programming
tutorial
short program
examples
calculator
repeat program