Get the answers you need at Westonci.ca, where our expert community is dedicated to providing you with accurate information. Get immediate and reliable answers to your questions from a community of experienced professionals on our platform. Connect with a community of professionals ready to provide precise solutions to your questions quickly and accurately.

In programming languages such as C++, Java, and JavaScript, what is the primary purpose of terminating a statement with a semicolon?
A) To indicate the end of a conditional statement
B) To separate different parts of a function
C) To signify the beginning of a loop
D) To mark the end of an executable statement