Logo

Programming-Idioms

History of Idiom 2 > diff from v56 to v57

Edit summary for version 57 by GCentelles:
New Obj-C implementation by user [GCentelles]

Version 56

2017-09-06, 03:23:44

Version 57

2018-03-04, 08:35:26

Idiom #2 Print Hello 10 times

Loop to execute some code a constant number of times

Illustration

Idiom #2 Print Hello 10 times

Loop to execute some code a constant number of times

Illustration
Code
for (int i=0;i<10;i++){
NSLog(@"Hello world");
}