how to read double from scanner 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();