Ask Question
25 August, 21:37

She is not sure about the size though, and wants to be able to quickly experiment with the drawing by changing only one number - the radius of the bottom dot - and for the rest of the code to size and scale the drawing accordingly. How should she adjust lines 2 and 3 of her code to implement this change?

+2
Answers (1)
  1. 25 August, 21:46
    0
    2 var middle = bottom / 2;

    3 var top = middle / 2;

    Explanation:

    To implement the following changes in the 2 and 3 lines, she firstly declares a variable then, she has to initialize or assign by performing the division method with the variable 'bottom' by 2.

    After that in the next line, she declares a variable then initialize or assign by performing the division method with the variable 'bottom' by 2.

    So, the following answer is correct according to the given scenario.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “She is not sure about the size though, and wants to be able to quickly experiment with the drawing by changing only one number - the radius ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers