Computer Science, asked by caparikshitray, 1 year ago

State whether the variables given below are valid or invalid(state reason if invalid)
. i) 8GT
ii) my score
iii) avg#
iv) my_prog2

Answers

Answered by Riddsha
4

Answer:

1. Invalid

2. Invalid

3. Invalid

4. Valid

Explanation:

1.A variable doesn't start with a number.

2.A variable doesn't contain whitespace.

3.A variable doesn't contain this special character '#' .

Similar questions