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: Effects Of Accessing Uninitialized Variables Using printf()

C: Display A Char's Numerical Value.