Question: 4. Write a function that takes in a value in Fahrenheit degrees and converts it to Celsius. It should RETURN the value, not PRINT the

 4. Write a function that takes in a value in Fahrenheit

4. Write a function that takes in a value in Fahrenheit degrees and converts it to Celsius. It should RETURN the value, not PRINT the value. (Note that C=(5/9)(F32) ) 5. Write a function that takes in three numbers and returns the minimum of the three. 6. Write a function that draws the following picture with a center as some given x and y value and with a particular width w, and height h. You may assume the function will just draw the circles, not the gray background. Note: the outside is green, the middle is yellow, and the inside is red. 7. Write a short program that will keep drawing the pattern above at random locations (you can see the previously drawn ones) on the screen and that will clear the screen to a random color when the mouse is pressed. The behavior of the program will continue until it is closed. You may assume that the code in \#6 is included in your program (so you do not need to rewrite it here)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!