Affirming the Consequent is a logical fallacy (error) where the converse statement is inferred as true from a logical statement. This kind of argument is invalid. This fallacy is also known as Converse error or fallacy of the converse.
Consequent: The part of a conditional statement whose truth is conditional. (Generally followed by then)
Antecedent: The part of conditional statement which precedes the Consequent
If statement P [ANTECEDENT], then statement Q [CONSEQUENT]
As per the converse error, Q is true then necessarily P also has to be true. (Which does not follow logically?). In fact, the only inference that can be made is: If non-Q, then non-P.
Statement: If I am Rich, I have a car
Converse error: If I have a car, means I am rich
Logic: I can have car even if I am not rich. There are a hundred ways to have a car. Being rich is just one of the ways to have a car
Correct Conclusion: If I don’t have a car, I am not rich