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

Which is the best description of the events of A Midsummer Night's Dream? A. logical and tragic B. serious and historically accurate C. comical and fantasy-l
A tabletop in the shape of a trapezoid has an area of 6,550 square centimeters. Its longer base measures 115 centimeters and the shorter base is 85 centimeters.
accurate estimation 719-348
On Being Brought from Africa to America by Phillis Wheatley 'Twas mercy brought me from my Pagan land, Taught my benighted soul to understand That there's a God
Solve the equation -10 + 3x + 5x = -56 ? ??
Do you think then solid can undergo convection
Which is an example of a structural adaptation of a plant? A. plant moving toward light to increase photosynthesis B. roots responding to gravity to get to wa
why did Mr Collins come to the Bennet family looking for a wife?
Express the perimeter of the triangle as a polynomial. 8x+2 5x-4 9x+3
How do I do trebuchet calculations????? Help me please