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
Ivanshal [37]
2 years ago
15

How to square a number in java.

Computers and Technology
1 answer:
artcher [175]2 years ago
8 0

Answer:

num**2

Explanation:

To square a number in Java, you just take the number and use two asterisks (**) to denote an exponent, and then connect a 2 to it.

For example, if your number is 5:

5**2 in Java means 5^2, which is 25.

Just like how 5**3 in Java means 5^3.

Hope this helps.

You might be interested in
This graph shows both a reflection and a
Tpy6a [65]

Answer:

y=-3x-×-1 I think it's answer is it

6 0
3 years ago
Read 2 more answers
A microphone is a type of electronic.<br><br> True/Faulse
GenaCL600 [577]
Yes, True, a microphone IS a type of electronic
4 0
3 years ago
Diseñe un algoritmo que le permita montar bicicleta y llevar en ella una carga desde la tienda hasta su casa.
Stella [2.4K]

Answer:

La fuerza se aplica en el lado opuesto de la carga.

Explicación:

Para andar en bicicleta y llevar una carga de la tienda a su casa, usamos tales reglas para llevar la carga de manera más fácil y segura. Si la carga es grande y está colgada en el mango derecho de la bicicleta, entonces la fuerza se aplica en el lado izquierdo de la bicicleta para mantener el equilibrio. Si no hicimos esto, la moto se irá hacia el lado derecho y el piloto sufrió el accidente.

6 0
3 years ago
PGP encryption can be performed from the command line as well. What is the PGP command line syntax to encrypt the my-message.txt
Mrac [35]

Answer:

pgp --encrypt "my-message.txt" --recipient (Sean) --output ("secret-message.txt.gpg")

Explanation:

PGP encryption from the command line can be done using the following format:

  • pgp --encrypt (input) --recipient (user) --output (output file)

Therefore, PGP command line syntax to encrypt the my-message.txt file for a specific user (Sean) and save the output as secret-message.txt.gpg is:

  • pgp --encrypt "my-message.txt" --recipient (Sean) --output ("secret-message.txt.gpg")
6 0
3 years ago
A network technician configures a firewall’s ACL to allow outgoing traffic for several popular services such as email and web br
Cerrena [4.2K]

Answer: (B) Allow the firewall to accept inbound traffic to ports 80, 110, 143, and 443

Explanation:

Port 80 is used by HTTP, 110 by pop3 to retrieve emails from web servers, 143 by imap for internet messaging and 443 is used for TCP for websites using SSL. So if the firewall is allowed to accept inbound traffic to these ports 80,110,143 and 443 then it would be possible to retrieve emails.

3 0
3 years ago
Other questions:
  • A company ABC asked you to design a simple payroll program that calculates and employee's weekly gross pay, including any overti
    9·1 answer
  • Marcus just created a new folder specifically for his buisness records so he would like to move last months business transaction
    13·2 answers
  • Who's better Kapkan or Tachanka?
    6·1 answer
  • The first computer introduced was the IBM PC. A. True B. False
    11·2 answers
  • When using correct ergonomic technique be sure to
    6·2 answers
  • How do optical storage devices operate?
    12·1 answer
  • Suppose barriers to entry exist in the telecommunications industry. This best describes a _____ market.
    12·1 answer
  • _____________________________________________________is a pre-designed format to help users with the creation of a document, lik
    6·1 answer
  • The __________ statement allows you to check for
    7·1 answer
  • RAM IS often referred
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!