#import <Foundation/Foundation.h> int main ()
{
/* local variable definition */
int i, j; for(i=; i<; i++) {
for(j=; j <= (i/j); j++)
if(!(i%j)) break; // if factor found, not prime
if(j > (i/j)) NSLog(@"%d is prime\n", i);
} return ;
}
#import <Foundation/Foundation.h> int main ()
{
/* local variable definition */
int i, j; for(i=; i<; i++) {
for(j=; j <= (i/j); j++)
if(!(i%j)) break; // if factor found, not prime
if(j > (i/j)) NSLog(@"%d is prime\n", i);
} return ;
}