Ask Question

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

C) yourAge = myAge;

+4
Answers (1)
  1. 6 June, 14:30
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers