Ask Question

The area of a square is stored in a double variable named area. write an expression whose value is length of the diagonal of the square.

+4
Answers (1)
  1. 9 April, 19:33
    0
    You should specify what language you're using in these types of questions; here's an example in C++.

    #include

    #include

    int main ()

    {

    / / example area

    double area = 25;

    / / square root the area to find the length

    / / then apply basic pythagoras

    double diagonal = sqrt (pow (sqrt (area), 2) + pow (sqrt (area), 2));

    return 0;

    }
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “The area of a square is stored in a double variable named area. write an expression whose value is length of the diagonal of the square. ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers