C: Modify calculator to catch divide by zero error.


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


 

Popular posts from this blog

C programming and relevancy

C++ Crash Course: Solutions to Exercises in Part 1, Chapter 1.