Computer Science, asked by ammar7866083, 4 months ago


What is a compound statement ? Give an example.​

Answers

Answered by krishnasaranb123
12

Answer:

A compound statement is a sentence that consists of two or more statements separated by logical connectors.

For example, compound statement { x = 1; y = 0; } contains two smaller statements. The statements are done one after the other, from the beginning to the end.

Answered by Prathamesh6028
7

Answer

Compound statement { x = 1; y = 0; } contains two smaller statements. The statements are done one after the other, from the beginning to the end

For example: Joe made the sugar cookies; Susan decorated them.

hope it helps...

Similar questions