Homework 5

Please complete this homework before next class.



General Review Problems

1. Create an integer x that is equal to a random number between 10 and 50

2. Print out the text "Yes"!

3. Create a class called Position that has two ints, x and y.

4. Create an array of 50 random positions.

5. Draw a circle at each of the positions.

6. Write a function that takes in two parameters, x and y.
It should return x to the power of y.

7. Write a function that takes in a boolean, x.
If x is true, return "Yes". If x is false, return "False".