File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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: 40439
I think you are duplicating questions, so shall close this thread.
I agree. Here's the link:
subject: how to achieve this ?