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
yawa3891 [41]
3 years ago
13

1. Here is a program segment to find the quantity base . Both base and exp are entered at the keyboard. System.out.println("Ente

r base and exponent: "); double base = IO.readDouble();// read user input double exp = IO.readDouble(); // read user input /* code to find power, which equals baseexp */ System.out.print(base + " raised to the power " + exp); System.out.println(" equals " + power); Which code is a correct replacement for /* code to find power, which equals baseexp */ ?

Computers and Technology
1 answer:
zavuch27 [327]3 years ago
3 0

Answer:

The correct code to this question can be de4fined as follows:

double power;

power = Math.pow(base, exp);

Explanation:

In the given question the choices were missing, that's why we defined the correct code only.

  • In the given code a two double variable "base and exp" is declared, that input the value from the user-side, and store its value into there respective variables.
  • In the next step, "power", that is a double variable is declared, which uses the  "Math.pow" function that calculates given values power and prints its value.

please find the attachment of the full code.

You might be interested in
)duplicate hash code
mash [69]

Answer:A) Create collisions

Explanation: Hash codes are the numeric codes present in the programming infrastructures which are responsible for focusing on the object while the equality testing is in process. Hash codes does not display the property of having a permanent value.

When there is the creation of the duplicate hash codes then ,chances of collision arise because they search for the particular object and cannot have the same numeric value.

5 0
3 years ago
True or False. A modern programming EXE provides a text editor, a file manager, a compiler, a linker and loader, and tools for d
Flauer [41]

Answer:

True

Explanation:

Mordern programming environments provide essential tools needed to build, test, debug, etc. examples are VSCode, Atom, Sublime text, etc.

7 0
3 years ago
An IT professional with a customer-service
oksian1 [2.3K]

Answer: work late to make sure a persons issue is resolved

Explanation:

I just took the test

6 0
4 years ago
If non-series-rated overcurrent devices (standard molded-case circuit breakers) are to be installed in the main switchboard, bre
const2013 [10]

Breakers with adequate short-circuit must be installed in the panelboards.

<h3>What are these equipment about?</h3>

Common Overcurrent Protection Devices (OCPDs) are known to be Breakers or fuses that are often used  to protect the full unit from too much current.

Note that Equipment such as switchboards and panelboards are often installed in an electrical system and they have to be of adequate measure of short-circuit current condition.

Learn more about overcurrent devices  from

brainly.com/question/14284905

3 0
2 years ago
Three materials needed to stream video video content
PIT_PIT [208]
Oh yeah yeah I don’t know ‍♂️ is
8 0
3 years ago
Read 2 more answers
Other questions:
  • Technician A says that as volume decreases, pressure increases. Technician B says that as temperature increases, pressure decrea
    5·1 answer
  • The first step in the five-step process for problem solving is to ____. evaluate take action understand the task or need complet
    10·2 answers
  • What is a Software Quality Assurance Audit?
    12·1 answer
  • In order for two computers to communicate via the internet, they must first locate one another. How do computers locate one anot
    12·1 answer
  • Which of the following SNSs has been associated with art work display?
    14·2 answers
  • The time delay of a long-distance call can be determined by multiplying a small fixed constant by the number of communication li
    8·1 answer
  • true or false then EXPLAIN why. Since many forms of money do not earn interest, people's demand for money is unaffected by chang
    14·2 answers
  • ফাইল ও ফোল্ডারের মধ্যে পার্থক্য কি এবং ৫ টি ইনপুট ডিভাইসের নাম কি​
    7·2 answers
  • Which of the expressions is false? when a = 10 and b = 4
    8·1 answer
  • Carl is beginning a digital forensic investigation. he has been sent into the field to collect a machine. when he arrives, he se
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!