n// write a function UserPicture that first clear the GW
n// then ask user to enter the desired location and size of the
picture
n// Use a default location(100,100) and default size 150
nVoid UserPicture()
{
n ClearDrawing();
n int x = RequestInt(“Enter x (0 ~
300): “, 100);
n int y = RequestInt(“Enter y (0 ~
300): “, 100);
n int size = RequestInt(“Enter size
(0 ~ 300): “, 150);
n Picture(x, y, size);
n}
n