139k views
4 votes
Is an identifier name of Avg_Val a requirement or a style? (i.e. are you required to use _ ?)

User Sebf
by
7.6k points

1 Answer

5 votes

Final answer:

Identifier names like Avg_Val are a style convention in computer programming, not a requirement.

Step-by-step explanation:

An identifier name like Avg_Val is a style convention in computer programming. The use of _ (underscore) is not a requirement but a common practice to improve readability of the code. In many programming languages, identifiers are case-sensitive, so using an underscore can help differentiate between words in a variable name.

User Daniela
by
7.8k points