Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: Java program to add two numbers

  1. #1
    Junior Member
    Join Date
    Jan 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Java program to add two numbers

    hi,
    I want to develop an simple application using java for a simple porgram for the addition of two numbers. So can u please help me..!!!


  2. #2
    Junior Member
    Join Date
    Nov 2011
    Location
    Aarhus, Denmark
    Posts
    28
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    I'm not sure your post title is very appropriate, but search for any beginner tutorial on Java on Google. I'm sure any tutorial will cover addition of two numbers rather quickly.

    Rolf

  3. #3
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: Java program to add two numbers

    Welcome to the Forum! Please read this topic to learn how to post your code correctly along with other useful info for newcomers.

  4. #4
    Junior Member
    Join Date
    Jan 2014
    Location
    UK
    Posts
    6
    My Mood
    Confused
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Java program to add two numbers

    Hi - like rolfba said, a quick google search would provide some quick tutorials.
    From one newbie to another, try this page: How to Find the Sum of Two Numbers in Java (with Pictures)
    It pretty much outlines what you need to do

    Pip

  5. #5
    Junior Member
    Join Date
    Jan 2014
    Posts
    23
    My Mood
    Mellow
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Re: Java program to add two numbers

    Quote Originally Posted by Prasanth.likith View Post
    hi,
    I want to develop an simple application using java for a simple porgram for the addition of two numbers. So can u please help me..!!!
    you just try it and if you face any problem ask us.. we are hear to solve it...

Similar Threads

  1. how to add strings as numbers?
    By Dixxon in forum Java Theory & Questions
    Replies: 7
    Last Post: December 8th, 2013, 04:55 PM
  2. How to add the numbers in the following series?
    By namenamename in forum What's Wrong With My Code?
    Replies: 1
    Last Post: October 16th, 2013, 07:23 PM
  3. How To: Add line numbers to your JTextArea
    By Freaky Chris in forum Java Swing Tutorials
    Replies: 11
    Last Post: October 15th, 2013, 10:22 PM
  4. My java program won't add up the numbers?
    By meaganicole in forum What's Wrong With My Code?
    Replies: 7
    Last Post: January 5th, 2012, 12:02 PM
  5. How to add line numbers in Eclipse
    By Brt93yoda in forum Java Code Snippets and Tutorials
    Replies: 0
    Last Post: August 12th, 2010, 11:03 AM