0
JAVA
I'm trying to write a program that asks a user to input a number (x). The program determines if the input (x) is a float/double and says "(x) has a decimal". If integer, states "(x) is an integer". could anyone show me how to do this in code? should I use an "if"?
2 Respuestas
+ 3
Please state a question Jeff as that is what the discussions are for.
Here is a reminder:
https://www.sololearn.com/discuss/1316935/?ref=app
+ 1
may be this post is helpful::
https://www.sololearn.com/Discuss/1285444/?ref=app