How to show in console? [closed]

I can tell that you printed every * with a separate call to NSLog. Don’t use NSLog if you need precise control over the format of the output.

Since Objective-C is a superset of C, you have the entire C standard library available in your Objective-C program. Just use printf or puts or putchar to print your square.

Leave a Comment