Answer:
Complex sentence.
Step-by-step explanation:
An independent clause is a group of words that can stand alone as a complete sentence. On the contrary, a dependent clause requires an independent clause to be a complete sentence.
In the given sentence, there are two parts with the use of the subordinating conjunction "if". In a sentence, the use of subordinating conjunction, whether at the start of a sentence or in between signifies a complex sentence.
Now, a complex sentence is a sentence that has an independent clause along with one or more dependent clauses. And here, the conjunction used is a subordinating conjunction.
Therefore, the given sentence is a complex sentence.