This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes how to achieve this ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic

how to achieve this ?

naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 688

what i want to do is when i enter three values like 52 three 50 my code should ignore non integer values and should perform addition on the given integer values ....
my code

output is 0 if we enter any non integer values . with two integer values .

The Only way to learn is!
Visit my blog
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 38044
I think you are duplicating questions, so shall close this thread.
I agree. Here's the link:
subject: how to achieve this ?
Similar Threads
why netbeans is showing output in this way ?
how to add number of digit in array
wrong output
whats wrong with my code ?
problem with try catch