Diff Tool

The diff tool can help you find typos in your code by showing you the differences between your program and the programs in the book.

NOTE: This page is for the 4th edition (with a snake on the cover). If you want to compare your code to the 3rd edition (with a dragon on the cover) book, use the 3rd edition diff tool.

Select program:

Copy and paste your code here: