aleyaj9698 aleyaj9698
  • 03-04-2021
  • Computers and Technology
contestada

Ask the user to input a country name. Display the output the message "I would love to go to [country]"

Respuesta :

nerd1232 nerd1232
  • 03-04-2021

Answer:

import java.util.Scanner;

public class Country{

public static void main (String[] args){

Scanner input = new Scanner(System.in);

System.out.print("Input a country name: ");

String country = input.nextLine();

System.out.println("I would love to go to " + country);

}

}

Explanation:

Answer Link

Otras preguntas

The higher the amplitude of the wave, the greater its intensity and the greater its loudness.
Solve the equation using square roots. x^2 - 9 = 0
2. Fill in the blank. In the triangle below, z = _____.
Mary bought three flowering plants for her garden. The first one has red tubular flowers filled with nectar; the second one has yellow, sweetly scented flowers;
1/5(2x - 15) + 3/5x =44/5
1) What is the common ratio of the following geometric sequence? . 5, 15, 45,… .
What is the first state in the northeast region
How do I describe a method that could beused to separate helium and oxygen gases ? Please help me
Why does Florida have a mild climate
why aren't there any cures for genetic disorders