What type of sentence is: "They had worked hard, so they would have passed the exam"?

A ) Compound ✅

B ) Complex

C ) Compound complex

D ) Simple