Java Saved Program: peaceful-life

facebook share

Here's the online compiler accompanied with IDE at your service. This is a saved code by one of our users. Try it out or save your own from the IDE page and don't forget to leave a feedback. You can find that at the bottom of the page.

import java.util.*;
class demo
    public static void main(String[]args)
    Scanner Scan=new Scanner(;
    System.out.println("enter 2 number for division");
    int a=Scan.nextInt();
    int b=Scan.nextInt();
    int c=a/b;
    System.out.println("the quotient is"+c);


Press the execute button or CTRL + enter to run code.