L
Latina
Hi, I have a string array, which there are the months.
If the user enters a number which is stored in an int variable
'month'.
How I can compare the value stored in the variable 'month' to the
string, to see if it is the same month.
I was thinking on comparing the index of the array with the value
stored in the variable 'month'.
But I don't know how to do it.
Can some one help me with that?
Thanks
If the user enters a number which is stored in an int variable
'month'.
How I can compare the value stored in the variable 'month' to the
string, to see if it is the same month.
I was thinking on comparing the index of the array with the value
stored in the variable 'month'.
But I don't know how to do it.
Can some one help me with that?
Thanks