What are compound statements?
A compound statement is a statement which comprises of a group of statements. The compound statements usually execute when a condition is satisfied, or a code block is called directly or through a function call.