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: Program That Calculates Pay Based On Salary And Hours.

C: Usage Of limits.h And float.h To Access Min And Max Constants.

C: Calculate Order Price Based On User's Input.