Ask Question

Given a double variable named areaOfSquare, write the necassary code to read in a value, the area of some square, into areaOfSquare and print out the length of that side of that square

+2
Answers (1)
  1. 2 April, 10:40
    0
    The variable that is given:

    areaOfSquare is a double variable

    It will have to ask for the length of a side of the square designated as lengthofSide and simply that value.

    areaOfSquare = lengthOfSide^2

    Before displaying the value of the variable
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Given a double variable named areaOfSquare, write the necassary code to read in a value, the area of some square, into areaOfSquare and ...” 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