public static void main(String[] args) {
double n;
Scanner sc=new Scanner(System.in );
System.out.println("enter a decimal number") ;
n=sc.nextDouble();
System.out.println("you...
Type: Posts; User: Mounkaila144
public static void main(String[] args) {
double n;
Scanner sc=new Scanner(System.in );
System.out.println("enter a decimal number") ;
n=sc.nextDouble();
System.out.println("you...
hello
public static void main(String[] args) {
double n;
Scanner sc=new Scanner(System.in );
n=sc.nextDouble();
}
when i enter a decimal number on the keyboard it doesn't...
The second loop (do while) does not work
Hello I'm trying to do something -when the user has entered a value other than 1 or 2, that it prompts the user to try again until the user chooses 1 or 2 - once the user has been chosen 1 or 2 make...