Question: how does as good as it gets end?
Answer: The film ends with Melvin and Carol walking together. As he opens the door at an early morning pastry shop for Carol, he realizes that he has stepped on a crack in the pavement, but does not seem to mind.