Ask Question
9 February, 10:44

Which one of the following is legal variable names, type YES or NO in front of each variable name? If not, state the reason.

A) computebudget

B) five+six

C) illegalname

D) Legal Name

E) 4U

+1
Answers (1)
  1. 9 February, 11:53
    0
    A) computebudget - YES is legal variable name.

    B) five+six - NO.

    A legal variable name cannot contain mathematical operator or in fact any operator + is used so not a legal variable

    C) illegalname - YES

    is legal variable name.

    D) Legal Name: NO

    A legal variable does not contain any space between it's name although it can have underscore sign

    E) 4U - NO

    A legal variable name cannot start with a digit.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Which one of the following is legal variable names, type YES or NO in front of each variable name? If not, state the reason. A) ...” in 📙 Chemistry if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers