i cannot find the way to print the sum of all the numbers between 0 to 100 in a new line in the console. Here is my code:
NSMutableArray *intArray = [[NSMutableArray alloc] initWithCapacity:100];
for (int i = 1 ; i <= 100 ; i ++)
[intArray addObject:[NSNumber numberWithInt:i]];
NSLog(@"%@", intArray);