In this Program the user is asked to enter two numbers. Based on the numbers the division of two numbers is per

Algorithm:

Step 1: Start.

Step 2: Declare variables, say a, b and c.

Step 3: c = a/b;

Step 4: Display result.

Step 5: Stop.

Source code:

Output:

C:\Users\santo\Desktop\new>javac Division.java

C:\Users\santo\Desktop\new>java Division

*** www.programmingposts.com ***

<< JAVA Program for division Two Integers >>

Enter first number:

10

Enter Second number:

5

The division of two numbers is:2.0

Screenshot of Output:

Screenshot of output