1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Alenkinab [10]
3 years ago
11

1) Prompt the user to enter two words and a number, storing each into separate variables. Then, output those three values on a s

ingle line separated by a space. (Submit for 1 point) Enter favorite color: yellow Enter pet's name: Daisy Enter a number: 6 You entered: yellow Daisy 6
Computers and Technology
1 answer:
masya89 [10]3 years ago
7 0

Answer:

import java.util.Scanner;

public class TestClock {

   public static void main(String[] args) {

 Scanner in = new Scanner (System.in);

       System.out.print("Enter favorite color:");

 String word1 = in.next();

       System.out.print("Enter pet's name:");

 String word2 = in.next();

       System.out.print("Enter a number:");

 int num = in.nextInt();

       System.out.println("you entered: "+word1+" "+word2+" "+num);

   }

}

Explanation:

Using Java Programming language

  1. Import the Scanner class
  2. create an object of the scanner class
  3. Prompt user to enter the values for the variables (word1, word2, num)
  4. Use String concatenation in System.out.println to display the output as required by the question.

You might be interested in
In a transaction-processing system (tps), if the tps database can be queried and updated while the transaction is taking place,
Alona [7]
This is called Real time processing. A Transaction Processing System (TPS) is a kind of data framework that gathers, stores, adjusts and recovers the information exchanges of an undertaking. Exchange handling frameworks additionally endeavor to give unsurprising reaction times to demands, despite the fact that this is not as basic with respect to continuous frameworks.
6 0
3 years ago
Que es un proyecto técnico?
deff fn [24]

Answer:

Explanation:

La gestión técnica de proyectos es la capacidad de apoyar la gestión de una iniciativa de TI desde un concepto hasta un entregable concreto como un proyecto con conocimientos técnicos especializados. ... Esto puede depender de la organización o cultura geográfica de los diferentes países, o incluso del tamaño del proyecto.

7 0
3 years ago
Read 2 more answers
_____ allows a function or operator to perform different tasks depending on the types of the arguments or operands. Group of ans
xenn [34]

Polymorphism allows a function or operator to perform different tasks depending on the types of the arguments or operands.

<h3>What does polymorphism helps?</h3>

Polymorphism is known to be that which helps its users to be able to carry out one action in a lot of ways that is many forms.

Note that Polymorphism allows a function or operator to perform different tasks depending on the types of the arguments or operands and thus makes one to work faster.

Learn more about Polymorphism from

brainly.com/question/20317264

#SJ1

5 0
2 years ago
Emily created her company's first newsletter. She made sure to repeat design elements such as color schemes and
max2010maxim [7]

Answer:

Her goal was to Provide consistency

Explanation:

i dont rly have one

8 0
3 years ago
The system log daemon, rsyslogd, creates a socket for other system processes to write to. what is the path to this socket?
Vlada [557]

If the system log daemon, rsyslogd, creates a socket, the path to this socket is known to be /dev/log.

<h3>What is the system log daemon?</h3>

The syslog daemon is known to be a kind of a server process that is known to often gives or provides a form of message logging tools that is made for application and system processes.

Note that the syslog daemon is said to be one that begins by the Internet Daemon and it is also one that tend to receives messages on well-known port such as  514.

Note that The syslog daemon must be on before any application program and as such, If the system log daemon, rsyslogd, creates a socket, the path to this socket is known to be /dev/log.

See full question below

The System Log Daemon, rsyslogd, creates a socket for other system processes to write to. What is the path to this socket?

Select one:

a. /etc/rsyslog.socket

b. /var/log.sock

c. /tmp/log

d. /dev/log

Learn more about system log from

brainly.com/question/25594630

#SPJ1

6 0
2 years ago
Other questions:
  • Specification of database requirements falls under which category of database​ administration?
    8·1 answer
  • Which statement describing an operating system's Search feature is true?
    5·1 answer
  • How much does a tech person get each year?
    11·2 answers
  • A​ ___________ identifies the content and purpose of the​ visual, along with whatever label and number​ you're using to refer to
    15·1 answer
  • Daniel owns a construction company that builds homes. To help his customers visualize the types of homes he can build for them,
    6·1 answer
  • When installing EMT conduit that will be exposed to wet conditions, _______ fittings should be used.
    5·2 answers
  • What describes the time it takes a packet to move from one designated on the network to
    7·1 answer
  • What does Falstaff do to protect himself in battle? ​
    15·1 answer
  • We cannot share software in computer network true or false​
    9·1 answer
  • Identify the correct answer in each item. Write your answer on the blank provided before
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!