필터 지우기
필터 지우기

Using object orientated programming

조회 수: 1 (최근 30일)
Travis Smith
Travis Smith 2016년 10월 17일
편집: Prasad Mendu 2016년 10월 19일
I have to draw a n-pointed and n-sized star using a turtle which basically functions as a pen that can be told to draw a certain length and to rotate to draw in different directions. It should work as a function where the user inputs the size and number of points and the turtle draws the star.
  댓글 수: 1
Guillaume
Guillaume 2016년 10월 17일
편집: Guillaume 2016년 10월 17일
Do it in LOGO. Done in 8 lines of code!
More seriously, what is your question and where does OOP figure into this?
Hopefully, you're not asking for somebody to do your homework for you.

댓글을 달려면 로그인하십시오.

답변 (1개)

Prasad Mendu
Prasad Mendu 2016년 10월 19일
편집: Prasad Mendu 2016년 10월 19일

카테고리

Help CenterFile Exchange에서 Assembly에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by