Ask Question
17 March, 15:00

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?

+1
Answers (1)
  1. 17 March, 18:52
    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?
Find 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 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