编写程序,从键盘上输入两个数,然后计算它们相除后得出的结果并输出
import java.util.Scanner; public class for3_12 { public static void main(String[] args) { Scanner reader=new Scanner(System .in); double a=reader.nextDouble(); double b=reader.nextDouble(); double c=a/b; System.out.println(c); } } ```2.5 1.0 2.5