The strStates and strCapitals arrays are parallel arrays. If Illinois is stored in the second element in the strStates array, where is its capital (Springfield) stored?
The strStates and strCapitals arrays are parallel arrays. If Illinois is stored in the second element in the strStates array, where is its capital (Springfield) stored? Correct Answer strCapitals(1)
The second element of strStates is Illinois, thus is represented by strStates(1). Its capital will thus be strCapitals(1), since strStates and strCapitals are parallel arrays.
মোঃ আরিফুল ইসলাম
Feb 20, 2025