#import <Foundation/Foundation.h>
#import "Person.h"
int main (int argc, const char * argv[])
{
@autoreleasepool {
NSLog(@"Hello, World!");
Person *person = [[Person alloc] init];
[person setWeightInKilos:145];
[person setHeightInMeters:1.8];
float bmi = [person bodyMassIndex];
NSLog(@"person has a BMI of %f", bmi);
NSLog(@"person (%d, %f) has a BMI of %f", [person weightInKilos], [person heightInMeters], bmi);
}
return 0;
}