compound-complex sentence example

Although she had studied hard for the exam, she was nervous about it, and when she received her score, which was below average, she felt discouraged, but she knew she had to keep trying.

A compound-complex sentence is a sentence that contains at least two independent clauses and one or more dependent clauses. Here is an example:

"While Mary was studying for her exams, John went to the library and borrowed some books, but he forgot to return them the next day."

Independent clauses:
1. "John went to the library and borrowed some books."
2. "He forgot to return them the next day."

Dependent clause:
"While Mary was studying for her exams,"