C: Modify calculator to catch divide by zero error.

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



Duration: 1:33
28 views
0


Calculator now catches divide by zero error by testing to see if either user inputs are equal to 0, otherwise it executes the division.

Repl: https://replit.com/@pereiradaniel/Calculator-Exponent-function-added
Git repo: https://github.com/pereiradaniel/c_programs/blob/master/calc/calc4.c
Blog: https://pereiradpg.blogspot.com/2023/01/c-modify-calculator-to-catch-divide-by.html







Tags:
C language
programming
calculator
divide by zero
error