Is the given assignment a valid variable assignment? Var product cost = 3

Questions & AnswersCategory: Programming LanguageIs the given assignment a valid variable assignment? Var product cost = 3
Adam asked 2 years ago

Is the given assignment a valid variable assignment? Var product cost = 3.45;

a. No, floating numbers are not allowed.

b. No, there should be no space in the variable name.

c. Yes, it is valid.