51.9k views
4 votes
Lidia is assigning her first name as the value to a variable. Which is the correct format to use? firstName = "Lidia" First Name = "Lidia" firstName! = "Lidia" firstName = Lidia

User Fordeka
by
8.5k points

2 Answers

3 votes

Answer:

firstName = "Lidia"

Step-by-step explanation:

firstName = "Lidia"

User Evilunclebill
by
8.7k points
6 votes

Answer:

firstName = "Lidia"

Step-by-step explanation:

you declare a variable by

variableName = value

her name is of data type string, so it should be enclosed in " "

User Mark Erdmann
by
7.8k points