Jenn wants to assign a value to the favorite car variable: favoriteCar = Toyota but gets an error message. What does she need to
fix for the code to work?
a
Add a space between the words in the variable name.
b
Create a shorter variable name.
c
Remove the equal sign.
d
Put quotation marks around the string.
1 answer:
Answer:
The correct answer is: Option d: Put Quotation marks around the string.
Explanation:
The names of things or places or cars are usually in the form of words or sentences. The words or sentences are stored in string datatype.
Quotation marks are used to deal with strings in programming languages.
Hence,
The correct answer is: Option d: Put Quotation marks around the string.
You might be interested in
That is program ............
Answer:
Plan the script, characters, and how the game is played
B. 01101000
For future reference you can look up decimal to binary calculators online; or binary to decimal.
by typing ctrl+ s on keyboard
Is this the full question?