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

write the value of the dijit 5 in 657
Express 230 in scientific notation
Write the number that matches the clues My number has 2 hundreds. The tens digit is 9 more than the ones digit
work out the parallelogram of base 6cm and height 8cm
what is the 7.5x10 exponent 5 of scientific notation
There are two ways of adding two square numbers to make 65. Write a different square number in each box. [ ] + [ ].
The volume of a cube is given by V= x cubed where x is the length of an edge of the cube. A cube shaped end table has the volume of 3 3/8 cubic feet. What is th
work out the parallelogram of base 6cm and height 8cm
A car travels at 65 miles per hour. Going through construction, it travels at 3/5 this speed. Write this fraction as a decimal and find the speed
what are two determining factors in how organisms are classified into kingdoms