Type a Visual Basic statement that declares variable myCity
Type a Visual Basic statement that declares variable myCity as a string and initializes it to \"Monrovia\". Note: Letters that are not capitalized properly will count against you (e.g., the following statement is incorrect: dim temp as double). Make sure to only include one space in between each word/letter/symbol.
Solution
Answer:
Dim myCity As String = \"Monrovia\";
Syntax for creatig variable in VB
Dim [variable] As [DataType] = [value]\'
