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

What is the structure that surrounds the cytoplasm in a bacterial cell
expand and simplify a. 5(3p+2)-2(4p-3) b.4(2x+3)-(x-2) c.(x+3) (x-2) d.(x-1) (x-2) e. (x-3) (x-2) f.(2p+3) (p-2) g.(3t-2) (2t+3) h. (2x-5) (3x-2)
the value of 9 in 9.173
what number is 20% of 625
in a sale there is 25% off all prices a chair costs 90 in the sale. how much was it before the sale?
What is one reason why Thomas Paine says that the time for independence is now? a. Because the British have vulnerable islands b. Because the British are distra
Which of the following sentences contains an italicized word that's used as a predicate adjective? A. Jerry looks at the map. B. Jerry looks ill today. C. Jerry
You often insert your company's logo into a document you create.one way to make it easier for you to quickly insert it is to save the logo as a
How did the Glorious Revolution affect relations between England and its colonies?
What is the product of 36 and 80