How do i check if they entered a string or a double/integer ?
Type: Posts; User: 12sea21
How do i check if they entered a string or a double/integer ?
@Junky: Thanks, but i did it as such:
if(fnum>=1 && fnum<= 999){
And it works :P
I have another question, if i want to call back on this method because the user has inputed an invalid...
Hmm.. ok ill try that when i get to my learning stage with loops :P cheers Junky! ^^
Thank you sir :P
I have another question (you like how i keep my questions in one thread?):
I have a program that tells the person to type in a number, this number with another one will be summed...
Olla guys! I have returned with MOAR question(s):
My question is, what is the difference between printf and println (i know that f stands for formatted)
SOLVERED: Print Ln is print line :P
Firstly let me introduce myself:
http://www.javaprogrammingforums.com/member-introductions/10512-hello-fellow-java-ers-p.html#post40433
Now that its out of the way (:D) let me start:
I have seen...