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

A local hotel has 158 rooms. Due to a scouting event, the entire hotel booked except for two rooms. If the girls scouts are using three times as many rooms as t
Write an essay stating your opinion on whether success is dependent on having goals. I DONT NEED A WHOLE ESSAY!! But I need to brainstorm 2 specific examples th
2x+y=5 y=x−1 system of equations please show your work
Tell me the Rhythm And Beats EX:one two and three and four
The Tarts (Mother Goose) The Queen of Hearts, She made some tarts, All on a summer’s day; The Knave of Hearts, He stole the tarts, And took them clean away. The
PLSS HELPP I WILL BE GIVING BRAINLIEST:)
HELP!An advantage of the Harris and Ullman multiple nuclei model over the Burgess concentric zone model and the Hoyt sector model of internal city structure is
Michelle wrote a total of 12 pages over 3 hours. How many hours will Michelle have to spend writing this week in order to have written a total of 20 pages? Assu
I need 4 paragraphs on freedom​
PLZZZZZZ HEEEEEEEEELLLLLPPPPP (will mark brainliest for correct answers)