which one is correct.

a)the temperature was 104 degrees and Eric's car was not equipped with airconditioning grammar

or b)the temperature was 104 degrees, and Eric's car was not equipped with airconditioning grammar

Your answer is?

Right. Two independent clauses need to be set off by a comma.

Actually, neither is correct since you didn't put a capital at the beginning and a period at the end of either sentence.

The temperature was 104 degrees and Eric's car was not equipped with air conditioning

a)the temperature was 104 degrees and Eric's car was not equipped with airconditioning grammar

Both options a) and b) are correct grammatically, but the difference lies in punctuation usage. Option b) is the more common and recommended form in formal writing because it includes a comma before the conjunction "and" to separate the two independent clauses. This is known as the Oxford comma or serial comma.

To determine the correct punctuation, you can refer to established style guides such as The Chicago Manual of Style, the Associated Press (AP) Stylebook, or the Modern Language Association (MLA) Handbook. These guides provide guidelines on punctuation, grammar, and usage conventions for different contexts of writing. In the case of your example, the punctuation choice would depend on following the preferred style guide's recommendations or the requirements of the specific writing context.