The given sentences have an error, find the sentence/s with error, if both the sentences are correct select 'Neither 1 nor 2 have an error'. Ignore any punctuation errors
1. Before I turn 40, I want to have written a book.
2. If I had known you were coming I would had baked a cake.
1
1 has an error
2
2 has an error
3
Both 1 and 2 have an error
4
Neither 1 nor 2 have an error
5
There is more than one error in either of the sentence