1. Explain why the followings variables names are invalid
a) 123ABC b)#name c)zip code d)name12.5
e) Print
f)zip-code
Write the correct version of each of these names,
Answers
Answered by
0
Answer:
a) ABC123 reason variable Name must start with character not digits
b) name no special character before variable Name
c) zipcode no space in between variable
d) name12.5 no point can be in variable.
e) variable name cannot be PRINT as it is a keyword
f) zip_code variable can have underscore no hypen
Similar questions