10.) Write a program to draw a shape like this: Hints: o Try this on a piece of paper, moving and turning your cellphone as if it was a turtle. Watch how many complete rotations your cellphone makes before you complete the star. Since each full rotation is 360 degrees, you can figure out the total number of degrees that your phone was rotated through. If you divide that by 5, because there are five points to the star, you'll know how many degrees to turn the turtle at each point. o You can hide a turtle behind its invisibility cloak if you don't want it shown. It will still draw its lines if its pen is down. The method is invoked as tess.hideturtle(). tess.showturtle() makes the turtle visible again. 11. Write a program to draw a face of a clock that looks something like this:

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter9: Advanced Array Concepts
Section: Chapter Questions
Problem 2GZ
icon
Related questions
Question
How do you do the calculations for 10)?How do you figure out the total number of degrees that your phone was rotated through?
JihunJ_C3C_10.bdf
>>> tess.forward (-100)
10.) Write a program to draw a shape like this:
Hints:
o Try this on a piece of paper, moving and turning your cellphone as if it was a turtle. Watch
how many complete rotations your cellphone makes before you complete the star. Since
each full rotation is 360 degrees, you can figure out the total number of degrees that your
phone was rotated through. If you divide that by 5, because there are five points to the
star, you'll know how many degrees to turn the turtle at each point.
o You can hide a turtle behind its invisibility cloak if you don't want it shown. It will still
draw its lines if its pen is down. The method is invoked as tess.hideturtle().
tess.showturtle() makes the turtle visible again.
11. Write a program to draw a face of a clock that looks something like this:
Transcribed Image Text:JihunJ_C3C_10.bdf >>> tess.forward (-100) 10.) Write a program to draw a shape like this: Hints: o Try this on a piece of paper, moving and turning your cellphone as if it was a turtle. Watch how many complete rotations your cellphone makes before you complete the star. Since each full rotation is 360 degrees, you can figure out the total number of degrees that your phone was rotated through. If you divide that by 5, because there are five points to the star, you'll know how many degrees to turn the turtle at each point. o You can hide a turtle behind its invisibility cloak if you don't want it shown. It will still draw its lines if its pen is down. The method is invoked as tess.hideturtle(). tess.showturtle() makes the turtle visible again. 11. Write a program to draw a face of a clock that looks something like this:
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Constants and Variables
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT