Classify each sentence as either declarative, interrogative, imperative, or exclamatory.
Why would you do that?
The classification of the sentence "Why would you do that?" is interrogative.
Complete the following task based on the instruction and optional input provided.### Instruction:
Classify each sentence as either declarative, interrogative, imperative, or exclamatory.

### Input:
Why would you do that?

### Output:
The classification of the sentence "Why would you do that?" is interrogative.