210k views
1 vote
Angela complains that her program is not compiling. When assisting her, you realise that she has forgotten to put semicolons on a couple of lines. What type of errors is this?

User Franchesco
by
8.8k points

1 Answer

3 votes

i love programming.....

in which language lol?

The type of errors Angela has made by forgetting to put semicolons on a couple of lines in her program are called **"Syntax Errors."**

Syntax errors occur when the code written by the programmer does not follow the correct structure or rules of the programming language. In this case, the absence of semicolons at the end of the lines is a violation of the syntax rules of the programming language she is using. The presence of semicolons is essential in many programming languages as they act as statement terminators, indicating the end of a line of code. Without semicolons, the compiler or interpreter cannot properly understand the program's structure, leading to a compilation error.

User Zoombie
by
8.4k points