30.2k views
2 votes
For this scenario related to turtle drawing, indicate whether it is better to write a loop or a function (or a set of functions) to handle the task: Drawing a circle of any size at any point on the screen

A. Loop
B. Function

1 Answer

4 votes

Answer:

Set of Functions

Step-by-step explanation:

Function is a type of procedure or routine used to perform a specific task in computer programming.

With center (x,y) and radius r of any size of cycle, function h contain the cycle. What one need to do is to input the value of x and y and the radius. This is used in C graphics.

User Alex Lukinov
by
8.6k points

No related questions found