Computer Science, asked by leenaratha123, 3 months ago

identify the invalid variable names state the reason is invalid i)marks unit ii)product _1 iii)sales 123 and iv)z marks​

Answers

Answered by keyboardavro
2

Answer:

Explanation:

Invalid variable names are : (i) Marks Unit Reason : Variable Name should not contain space (iv) 2 Marks Reason : Variable Name should not start with digit

Answered by anindyaadhikari13
1

Question:-

  • Identify the valid and invalid variable names.

Solution:-

  1. marks unit is an invalid variable name as it contains spaces.
  2. product_1 is a valid variable name.
  3. sales 123 is an invalid variable name as it contains spaces.
  4. z marks is an invalid variable name as it contains spaces.
Similar questions