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

[tex]\sqrt{x+7}=x+5[/tex]
how did the truman doctrine support the united states policy of containment.
Which describes this angle? an angle that measures greater than a right angle measures an angle that measures the same as a straight line measures an angle that
What is the area of the trapezoid?
15 POINTS! What happened in 1453 and how did it help cause the Renaissance?
People can create the best snowballs, snowmen, or other snow creations whenthere is wet snow; there are two other types of snow, too, the medium-wet snowand the
Gainsharing plans differ from profit-sharing plans in that:A. gainsharing plans use organization-wide performance parameters.B. gainsharing plans distribute pay
Help ASAP please !!!
please help me out if you can!
the pair of variables x=5, y=7 is the solution to the equation ax–2y=1. Find the coefficient a.