ADVT POST

java division of two number basic java program

Division of two number java program


public class b_division {


    /**

     * @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("division 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.