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 resource is a non-renewable resources? A.fresh water B.Maple trees C.Solar Energy B.Precious metal
what is greater 16.5 or 18750​
a blank is a type of poem that idolizes a simple Country Life​
(3x+4)–(2x+9)=15 Help meeeeeeeeeeeee.
ANSWER PLEASE FINAL DUE IN 3 HOURS Suppose a normal distribution has a mean of 120 and a standard deviation of 10. What is P(x ≥ 130)? A.0.475B.0.84C.0.16D.0.97
is flowering patterns independent or dependent
Bob is a recognized french horn player. Bob has played for several major symphonies. Last year Bob went through bankruptcy and in order to pay his rent for a co
8=72 2=6 5=30 9=? what is the value of ?
Which of these events happened during the 1970s? A. End of the Vietnam War B. Sony introduced the Walkman C. Nixon resigned D. All of the above
Because grasslands are less diverse than tropical forests and have deep root systems, after a fire they tend to exhibit and a. high inertia; low resilience b. l