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

In "love after love" The writer's use of paradox helps to support the theme of a) recovering one's true identity b) finding love in unexpected places c) healing
Use the Table to evaluate each expression. x | 1 2 3 4 5 6 f | 3 1 4 2 2 5 g | 6 3 2 1 2 3 a). f(g(1)) b). g(f(1)) c). f(f(1)) d). g(g(1)) e). (gof)(3) f). (
what is the solution to the equation 1 over 48 multiplied by x is equal to 1 over 6? x = 8 x = 42 x = 54 x = 288
evaluate the integral (xe^2x)/(1+2x)^2
Which undefined term is needed to define a circle? A. Point B. Radius C. Line D. Ray
Rank these atoms and ions according to radius. K-, K+, K
What did government stand to gain by implementing the social contract theory? A. authority B. peace C. legitimacy D. prosperity
hey can anybody help me out with this question please
Ed is doing a survey of popular colors for cars for a school report. He decides to take a sample by sitting near a busy intersection and noting the colors of th
Fill in the blank with the correct preterite or imperfect form of the verb in parentheses. Yo _____________ mucho en la tienda todos los días. (trabajar) Answ