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
HELP 100 points
natima [27]

Answer:

i do not know what to do there.

Explanation:

there's no pictures

5 0
2 years ago
You are designing an exciting new adventure game and you want to attempt to explain where items that are carried by the player a
alukav5142 [94]

Answer:

hYou are designing an exciting new adventure game and you want to attempt to explain where items that are carried by the player are being kept. What inventory system should you use to this? O visual grid approach hyperspace arsenal weighted inventory pseudo-realistic​

Explanation:

6 0
3 years ago
How can E-Commerce Portals ensure Security of online Transactions by Customers?
beks73 [17]
Ffkjlfdhaslkjfhlaksdfhlkajsdfh
6 0
3 years ago
When writing professional emails, it is okay to use emoticons and
nekit [7.7K]

Answer:

False

Explanation:

8 0
3 years ago
Read 2 more answers
According to the rules of economics, all resources arein their supply. The wants and needs of people are. The more scarce a reso
pshichka [43]

To make choices/decisions.

The principle of scarcity forces people to make choices or decisions about how to allocate resources efficiently. These choices are made to satisfy basic needs and as much additional wants as possible. This principle of Scarcity in economics further states that, limited goods and services are available to meet unlimited wants. Even resources considered plenty and free in monetary, somehow, are scarce in some sense. It is in the capacity of an individual to buy some or all commodities as per the available resources with that individual.

6 0
4 years ago
Read 2 more answers
Other questions:
  • Can the police track a phone if you post something on a social media platform even if the SIM card is out and location services
    7·2 answers
  • If needed, you can pull over on the shoulder of the freeway to take a break if you are tired. true or false (drivers ed) need as
    11·1 answer
  • Most operating systems perform all of the following tasks except _____. a. displaying the Graphical User Interface b. indexing t
    13·1 answer
  • D. DROP
    6·1 answer
  • Drag each tile to the correct box.
    8·1 answer
  • A small business utilizes a SOHO router and wishes to secure its existing wireless infrastructure. The business has fewer than t
    12·1 answer
  • State whether the following statement are true or false​
    6·1 answer
  • There are 2048bytes in4megabytes true or false​
    10·1 answer
  • What are different sheet icons
    5·1 answer
  • 3. What report shows what mobile devices were used to view a website?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!