SOLVED: smiling face function

10.00 $

Click Category Button to View Your Next Assignment | Homework

You'll get a download link with a: . zip solution files instantly, after Payment


5/5 - (2 votes)

Write a function that displays a smiling face at a certain place on the screen. The function must be named as below, and it must be able to display the face anywhere on the screen specified by the parameters x and y. You may borrow code from previous assignments if you want, although it is probably better if the face is relatively small so you have room to draw several of them on the screen at once. Then, inside the paint() method, call the function a few times to draw several faces on the screen.