senhas-rgb / learning-C

Projects done in order to learn C
1 stars 1 forks source link

Divide by zero (FPE) error when new correct values are input #4

Closed 1to5pc closed 2 weeks ago

1to5pc commented 2 weeks ago

A FPE is triggered when new correct values are input after an attempt at divide by zero is caught by the program image

senhas-rgb commented 2 weeks ago

Um you fix it. I never encountered it but umm pls provide more information about the problem your facing.

1to5pc commented 2 weeks ago

After values that cause a divide by 0 error are input, when correct values that can be divided properly are input the program crashes (Ex: 4 & 2)

senhas-rgb commented 2 weeks ago

Fixed partially. No errors provided but the program now only asks for the second number to be entered and cannot divide numbers which results floats.