There is an error is it becuase i am using the same variable result i am doing the program on page 56 of the book