how to get double input in java code example
Example: input double java
import java.util.Scanner;
Scanner input = new Scanner(System.in);
double choice = input.nextDouble();
import java.util.Scanner;
Scanner input = new Scanner(System.in);
double choice = input.nextDouble();