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

if you need to apply a c-spine then do you switch you assesment over to a trama assesment
Which equation using x to represent time best represents the floor number of an elevator descending at a steady rate? a. y= -75+2x b. y=-75-2x c. y=75-2x d. y=7
Which equation correctly demonstrates the distributive property? A. 16(3j - 4k) = 48j - 4k B. 30(3a + 2b) = 90a + 60b C. 7(6c - 4d) = 14cd D. 4(2f + 5g)
Describe the organization of our solar system
Eighteenth century music meant to be played in the evening is called:
Joey and Armando live on the same st as the park. The park is 9/10 mile from Joey's home. Joey leaves home and walks to Armando's home. Then Joey and Armando
What is the least number of reasons you should have to prove your point?
The movement in metals is what?
Which piece of additional information can be used to prove CEA ~ CDB?
i have 10 apples and my sis has twice apples than me.How many more apples left?