Learning Math and CS with Robotics
Sign In

CSP Unit 3 Lesson 8.11

Piano
Linkbot Image Mindstorm Image
Grid Size: S M L Simple View: MinView:
CSP Unit 3 Lesson 8.11

Using the drawFish function definition as a model, modify the drawStar function so that it has two parameters, named star_x and star_y, that specify the (x, y) location for the star. (Review Lesson 8.6 if you need a refresher on adding parameters to functions.) Then add function calls to your program to draw stars in several locations. Don't forget to save your work to the cloud in an xml file named "YourName_Lesson8.11"!

Load Blocks
Hardware
LArduino
Workspace Save Show C Edit C Ch Shell Console

		
Rubbish bin
Time