how to get java to read a double code example
Example: read 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();