Ask Question
19 January, 19:30

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.

+3
Answers (1)
  1. 19 January, 19:48
    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?
Find 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 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