Ask Question
13 June, 02:45

A tick is a short line that is used to mark off units of distance along a line. Write a function named drawTick () that uses a turtle parameter to draw a single tick of specified length perpendicular to the initial orientation of the turtle. The function drawTick () takes two parameters: 1. a turtle, t, that is used to draw 2. an integer, tickLen, that is the length of the tick.

+4
Answers (1)
  1. 13 June, 04:12
    0
    We are to write a function with the name drawTick ()

    It has two parameters: a turtle t and an integer tickLen which is the length of the tick

    The function then is

    drawTick (perpendicular (t), 0.01) indicating that the tick is perpendicular to the turtle and has a length of 0.01 m.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “A tick is a short line that is used to mark off units of distance along a line. Write a function named drawTick () that uses a turtle ...” 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