Ask Question
17 September, 13:31

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.

+3
Answers (1)
  1. 17 September, 14:06
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers