@implementation ViewController
- (void) viewDidLoad{
[super viewDidLoad];
srandom (time(NULL)); // **warning! implicit conversion loses integer precision: 'time_t' (aka 'long') 'to unsigned int' **
_number= random() % 100 +1;
NSLog(@"random number is %d",_number);
}