ADVT POST

java programs subtraction tutorial

JAVA PROGRAM SUBTRACTION OF TWO NUMBERS

public class b_substraction {

    /**
     * @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=b-a;
        System.out.println("subtraction 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.