Win a copy of Design for the Mind this week in the Design forum!
    Bookmark Topic Watch Topic
  • New Topic

how to achieve this ?

 
naved momin
Ranch Hand
Posts: 692
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Report post to moderator
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 .
 
Campbell Ritchie
Sheriff
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Report post to moderator
I think you are duplicating questions, so shall close this thread.
 
    Bookmark Topic Watch Topic
  • New Topic