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

Answer please you will get 10 points
What’s the answer and how to solve and do the problem
A service club wants to buy tickets to a baseball game. Tickets are avalible for the grandstand and for the bleachers Grandstand's ticket is $25 Bleachers Ticke
Good Afternoon! Please don't Put anything if you don't have an any idea. :) Brainstorm ideas for a new amendment to the Constitution. I will give Brainiest!
Classify the factors as abiotic or biotic. sunlight temperature tree microorganism soil animal
During a 12-hour period,the temperature dropped 48 F.How many degrees did the temperature drop each hour?
In past centuries, many people believed in a static Universe—one that had existed forever without changing much, and one that would continue forever more or les
If vector u has its initial point at (-17, 4) and its terminal point at (8,-11), u= ? i + ? J. If v=14j, 2(u-v)= ? i + ? J *the question marks stand for the bla
Will award brainliest. 10pts. Answer choices above. Solve the equation. Check the solution.
Please help me on this question