Solved

The Variables LastName and FirstName Are Strings and the Variable

Question 6

Multiple Choice

The variables lastName and firstName are Strings and the variable hoursWorked is Numeric. Why would the following statements cause errors?
LastName = 10
FirstName = hoursWorked


A) String variables are being assigned literal values.
B) Numeric variables being assigned literal values.
C) The data types do not match.
D) Numeric constants are being assigned numeric values.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions