Quick self diagnosis
Can you answer "yes" to all the first 3 questions and "no" to the 4th? If so, there is a high probability you have whooping cough. This is clearly a rough and ready test. The only way you will get a definite diagnosis is from a doctor who can talk to you and examine you and do relevant tests.
If in addition, you know other people who have or have had an identical cough, and you have been in contact with them, or you have been in contact with known whooping cough cases, then the probability that you have it is even stronger.