Ask Question
27 October, 18:18

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?

+3
Answers (1)
  1. 27 October, 18:24
    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 & 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