4.5k views
4 votes
If productCost and productPrice are numeric variables, and productName is a string variable, which of the following statements are valid assignments? If a statement is not valid, explain why not.

productCost = 100

1 Answer

1 vote

Answer:

This statement is valid, as it had a numerical value assigned to the variable.

User Greg Robertson
by
8.3k points