aspose file tools
The moose likes Beginning Java and the fly likes User addition result Help needed. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "User addition result Help needed." Watch "User addition result Help needed." New topic
Author

User addition result Help needed.

Mezan Shareef
Ranch Hand

Joined: Apr 01, 2010
Posts: 40
Hi guys Good morning, i am stuck with a doubt, in my program i am asking user to enter two numbers, i am using Scanner class, i want user to add those two numbers, i declared inputs as integers, and result of that addition also will be integer. then user would add and enter the result. How can i take that result and store in my variable ? I am confused here. ? I am still thinking...
Mezan Shareef
Ranch Hand

Joined: Apr 01, 2010
Posts: 40
I got it guys. Thanks. No worries.
Bobby Smallman
Ranch Hand

Joined: Sep 09, 2010
Posts: 107
Good work at solving your own problem! In my opinion it is always more satisfying and helps you more in the long term when you work your way through your own problems.

Just a quick comment however, if you want quick and meaningful responses to your posts it is vital that you give a little more information, specifically some code. It is often times difficult for anyone to respond with any value without more to go on. I would always post whatever code you have thus far that you are trying to make work. Good luck to you and good job again at figuring out your own problem!


Everyday in every way, we get a little better.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: User addition result Help needed.
 
Similar Threads
JOptionPane dialog box is not displaying
execution program
BigDecimal in JavaScript
want some help for returning to main please
adding two numbers