When i surfed for "how to get user data input as float?", I saw the Scanner class being used. Is there a way to get float input using only java.io.*;?
How to accept use input as float?
You must be signed in to leave a comment
31 August 2018, 01:14
Yes there is, with the code below you would need to change variable to the name you want.
30 August 2018, 14:32
use double instead of float