Posts by Gustavo Macedo Rodrigues • 11 points
1 post
-
1
votes2
answers49
viewsA: Problem with floating point comparison
Well the code that the colleague gave as answer is correct, say you want an interval between 1 - 3, if you put a condition (input < 1 || input > 3) it will receive values less than 1, ie the 1…
canswered Gustavo Macedo Rodrigues 11