Ask Question
1 February, 10:55

Which of the following are not valid assignment statements? A) total = 9; B) 72 = amount;

C) yourAge = myAge;

+1
Answers (1)
  1. 1 February, 14:12
    0
    The correct option for the given question is option (b) i. e 72 = amount;

    Explanation:

    In the option (a) the total variable store the value 9 which is a valid assignment

    In the option (b) 72 is not a variable because the variable will never start with a numeric number. Therefore it is not a valid assignment statement.

    In the option (c) the yourAge variable store the value of myAge variable which is a valid assignment.

    So correct answer is an option (b).
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Which of the following are not valid assignment statements? A) total = 9; B) 72 = amount; C) yourAge = myAge; ...” in 📙 Computers & Technology 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