//
// 01.m
// Hello Objective-C
//
// Created by mac on 15/11/27.
// Copyright © 2015年 mac. All rights reserved.
//
#import <Foundation/Foundation.h>
int main(int argc, const char * argv[])
{
int count = 100;
NSLog(@"The numbers from 1 to %d:",count);
for (int i=1; i<=count; i++)
{
NSLog(@"%d",i);
}
return 0;
}//main
|
|