In this exercise we have to use the knowledge in computational language in python to write a code with circles and squares.
<h3>how to draw geometric figures in python?</h3>
<em>inputs = 100</em>
<em>radius</em>
<em> draw_circle(radius);</em>
<em> pendown()</em>
<em> begin_fill()</em>
<em> circle(radius)</em>
<em> end_fill()</em>
<em> penup()</em>
<em>left(90)</em>
<em>forward(radius*2)</em>
<em>right(90) </em>
<em>penup()</em>
<em>setposition(0,-200)</em>
<em>color("gray")</em>
<em>bottom_radius = int(input("What should the radius of the bottom circle be?: "))</em>
<em>draw_circle(bottom_radius)</em>
<em>draw_circle(bottom_radius)</em>
See more about python at brainly.com/question/18502436
Answer:
int main() {
int _2dArray[32][32];
for (int i = 0; i < 32; i++) {
for (int j = 0; j < 32; j++) {
_2dArray[i][j] = j + i * 32;
}
}
return 0;
}
Explanation:
Here is a generic C/C++ 2d array traversal and main function example. The rest you'll have to figure out based on what kind of app you're making.
Good luck!