Posts by Vasco Fernandes • 1 point
1 post
-
0
votes2
answers94
viewsA: Check if a number is integer, if not, make the user type again
The inserted number may not be integer, like 0.2. So it is preferable to use "doubles" and not "ints". So it would look like: #include<bits/stdc++.h> //uma grande biblioteca de funções que…
c++answered Vasco Fernandes 1