![](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FdgT04h%2FbtsH1l9ExA0%2FxgAKHFDXASlXneBBxfROr1%2Fimg.png)
문제두 정수 a와b가 주어집니다.실수 a/b의 값을 소수점 21번째 자리에서 내림하여 출력하는 프로그램을 작성하시오.1차(실패)import java.util.Scanner;public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double a, b; a=sc.nextDouble(); b=sc.nextDouble(); double ans = a/b; // System.out.println(ans); System.out.printf("%.20f", ans); }}이유java에서 float형은 ..