how to get input double 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();