I need help with these questions please. I am working with C++ language. Thank y
ID: 3811056 • Letter: I
Question
I need help with these questions please. I am working with C++ language. Thank you in advance.
Question 3 6 pts You have a string array named stateArray declared to hold the names of all U.S. states in alphabetical order ("Alabama", "Alaska", "Arizona", "Arkansas", California Colorado Show the code needed to properly declare a const to be used to reference (or access) the array position for California Using the constant you just declared, show the code needed to reference (or access) the element that contains "California". Ohio is the 35th state in alphabetical order. Complete this declaration of a const to access Ohio. const int OHIOExplanation / Answer
Q3
given array: stateArray
ANs: const int i = 4; // constant declaration
Ans: stateArray[i]; // to show California
Ans: const int OHIO = 34
Q)
Ans: the elements of arrayOne will contain the integer 1 through
SIZEOF_ARRAY
Q11)
for(int i=0; i<SIZEOF_ODD; i++)
oddValues[i] = oddValues[i] + 10;