Computer Science, asked by tenzi01007, 24 days ago

what are the five rules for naming a variable are​

Answers

Answered by nithish1802
0

Answer:

Rules of naming variables

Name your variables based on the terms of the subject area, so that the variable name clearly describes its purpose.

Create variable names by deleting spaces that separate the words. ...

Do not begin variable names with an underscore.

Do not use variable names that consist of a single character.

make me as brainlest

Answered by apoorvarohidas67
0

Answer:

1. Name your variables based on the terms of the subject area, so that the variable name clearly describes its purpose.

2. Create variable names by deleting spaces that separate the words. Capitalize each word in the name, including prepositions and pronouns that consist of a single letter.3. Do not begin variable names with an underscore.

4. Do not use variable names that consist of a single character. Short variable names are only allowed for loop counters.

5. Name variables that describe binary states ("true" or "false") after the state that matches the "true" value.

Mark's us brilliant answers

Similar questions