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
Rama09 [41]
3 years ago
11

Write a statement that computes the square root of a variable called discriminant

Computers and Technology
1 answer:
marysya [2.9K]3 years ago
4 0

Answer:

// here is statement in C++ to compute square root of a variable.

double result=sqrt(discriminant);

Explanation:

Sqrt() method will compute the square root of a variable in C++.Read a value of discriminant and find the square root of it and assign it to variable "result".

Implementation in C++.

#include <bits/stdc++.h>

using namespace std;

// main function

int main()

{

  // variables

  double discriminant;

  // ask to enter discriminant

  cout<<"Enter the discriminant:";

  // read discriminant

  cin>>discriminant;

  double result=sqrt(discriminant);

  cout<<"Square root of discriminant is:"<<result<<endl;

  return 0;

}

Output:

Enter the discriminant:50                                                                                                  

Square root of discriminant is:7.07107

You might be interested in
What is the portion of the PowerPoint window that contains the current slide, total slides, zoom options, and various shortcuts
telo118 [61]
Normal view is the answer
7 0
4 years ago
(40 pointsAnd brainliest answer ASAP) Maria is recording her friend’s graduation ceremony. How can Maria ensure that the video i
snow_lady [41]

Answer:

camera

Explanation:

3 0
4 years ago
our client, Rhonda, has come to you for advice. Rhonda has recently graduated from college and has a good job with a large compa
Radda [10]

Answer:

See explaination for how to manage her personal risk

Explanation:

Personal risks can be described as anything that exposes you to lose of money. It is often connection to financial investments and insurance.

The basic things She can do to manage her personal risks are:

1. Saving:

Savings in much ways drastically reduces the percentage of risks and help you build confidence. Savings can help Rhonda manage her personal risks as savings helps one become financially secure and provide safety in case of emergency.

2. Investing:

After savings comes the major process, which is investment. It is rightly said, savings without invested proper is vain. Investment not only gives you returns or generates more profits but also ensures present and future long term financial security.

3. Reduce expenses:

A common man's expenses can never finish except it is controlled. Reduction in daily expenses can give a hike in savings and increase return on investment. Prompt planning can help cut in expenses.

5 0
3 years ago
The values of the member variables of objectOne are being copied into the corresponding member variables of objectThree. This in
djyliett [7]

Answer:

member wise Initialization.

Explanation:

Member wise initialization is used for the following cases:-

  1. When you have constant member in your class.
  2. When you have Reference member in your class.
  3. When you have a very large member in your class.
  4. When you have a member with no default constructor.

Member wise initialization is uses initialization and the direct initialization uses assignment.

8 0
4 years ago
A baseball diamond has an area of 3,600 square feet. What is the distance between each base? How far will a runner run around th
Ksju [112]
Also ~ how far does a runner run around the bases on a home run? It's explained in my answer. lw = sa (length times width = surface area) So multiplying length by width (since they're the same in this case you're squaring the length or squaring the width - no difference) You'll get 3600 feet.
6 0
4 years ago
Other questions:
  • Transcoding digital videos does not cause a loss of quality. <br> a. True <br> b. False
    9·1 answer
  • What do you need for digital photography?
    14·1 answer
  • Including quotes in your paper can bring additional meaning to the content True are false
    11·2 answers
  • The software program you need to have to read PDF file, such as the PDF files you download from your My Courses page, is
    9·2 answers
  • Because of Moore's Law, widely-used encryption programs currently employed by banks and ecommerce sites are now easily penetrate
    11·1 answer
  • Need help ASAP??? Pick the best answers
    10·1 answer
  • If a machine cycle is 2 nanoseconds , how many machine cycles occur each second?
    7·1 answer
  • 5. What are some situations where you might find it useful to use the “!” symbol in a program?
    9·2 answers
  • How much would you guys pay for a used ps4 with a black ops 3 disc?
    5·1 answer
  • How do I find unwanted programs on my computer?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!