This is what I have
NSMutableArray Code = [COMM 112, MATH 101, SCI 201];
NSMutableArray Name = [Commerce, Calculas , Science];
NSMutableArray Course;
for(int i=0; i < [code count]; i++)
{
[Course objectAtIndex:i] = [Code objectAtIndex:i] + "-" + [Name objectAtIndex:i];
}
What I want to end up with:
Course = [COMM 112 - Commerce, MATH 101 - Calculas, SCI 201 - Science];
This is just pseudo code! Any help to achieve this?