They are learning to write code.
(A) interrogative
(B) exclamatory 
(C) declarative
(D) imperative
Match each input sentence with its corresponding sentence type.
The sentence "They are learning to write code" is a (C) declarative sentence.