ADVT POST

java addition of two number program

JAVA ADDITION OF TWO NUMBERS PROGRAM
public class b_additionoftwonumber {

    /**
     * @param args PROGRAM CREATED IN ECLIPSE
     */
    public static void main(String[] args) {
        // TODO Auto-generated method stub
        int a=10;
        int b=20;
        int c;
        c=a+b;
        System.out.println("addition of two numbers is = " + c);

    }

}


Share on Google Plus
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment

Note: only a member of this blog may post a comment.