If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Bonus points

Improve your machine

Congratulations! You have completed the challenge. Now you are ready to improve your machine and share your ideas with others.
Challenge questions:
  • Can you expand your program to accept two different coins?  
  • Can you make a mechanism to automatically measure the coin for the user?
  • Can you add up how much money was provided?
  • What else can you do?
Share your ideas below. Post a YouTube link to your creations. How does your machine work?

Want to join the conversation?