This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt 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 Introducing JavaFX 8 Programming this week in the JavaFX 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: 692

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: 44433
I think you are duplicating questions, so shall close this thread.
I agree. Here's the link:
subject: how to achieve this ?
It's not a secret anymore!