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

The resultant resistance of two resistance wires in series combination is 108 ohm and in parallel combination is 24 ohm. find the value of individual resistance
Simplify (2x + 3)(x – 4) = ?
why are fossils of clams more numerous than those if the worms or cnidarians ?
Your oven has a power rating of 5000 watt... Your oven has a power rating of 5000 watts. a. How many kilowatts is this? b. If the oven is used for 2 hours to ba
how can astronomers use rocks from the moon to estimate the age of the solar system ?
Given 4 percent of (2a + b) is 18 and a is a positive integer, what is the greatest possible value of b?
How do you divide with a two digit number? Like 183 850 divided by 48.
At Jones College, there are a total of 100 students. If 30 of the students have cars on campus, and 50 have bicycles, and 20 have both cars and bicycles, then h
what is the farthest distance a human has ever been from earth?
What is 4p-13p-p=-150 More 2 step equations. I don't get this one at all