small medium large xlarge

The latest version of the book is P1.0, released over 2 years ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:

If you've found a new error, please submit it.

  • Typo
  • Tech. error
  • Suggestion
  • Maybe next edition
  • Not a problem
  • Reported in: P1.0 (08-Oct-15)
#78972
PDF page: 22
The description for exercise #8 (pizza party) says to "Write a program to evenly divide pizzas. Prompt for the number of people, the number of pizzas,...more...
  • Reported in: P1.0 (15-Nov-15)
#79162
PDF page: 39
This isn't a showstopper. I'm working around it myself, it's just a bit inconsistent in the book. The book is awesome, btw. 20 - Multistate Tax Cal...more...
  • Reported in: P1.0 (06-May-16)
#80295
PDF page: 49
Paper page: 50
The formula for calculating the Months to Pay, I had to remove the log from the upper part of the division, without removing it, the log will be a neg...more...
  • Reported in: P1.0 (08-Sep-16)
#80703
PDF page: 54

ch6 Repetition:
code
Go: for counter <= 1 -> for counter >= 1
JavaScript: for(…; counter <= 1; …) -> for(…; counter >= 1; …--kamimura

  • Reported in: P1.0 (13-Oct-15)
#78990
PDF page: 68

I may be wrong but the std deviation is not 400.25, but instead 353.55. Sorry if I am
wrong :)--Daniel J Mackey

  • Reported in: P1.0 (13-Dec-15)
#79328
PDF page: 68
The standard deviation of the numbers 100, 200, 1000 and 300 is either 353.55 or 408.25 depending on whether we are talking about a sample or a popula...more...
  • Reported in: P1.0 (24-Sep-15)
#78848
PDF page: 79
The program requirement states you should prompt for 'the number of slices per pizza'. However, this is missing from the example output. How many p...more...
  • Reported in: P1.0 (24-Sep-15)
#78849
PDF page: 80
Variant Challenge needs to include pizza slices The last challenge is to 'Create a variant of the program that prompts for the number of people an...more...
  • Reported in: P1.0 (13-Oct-15)
#78993
PDF page: 89

The example output is not sorted correctly. J comes before L.--Daniel J Mackey