#import "Circle.h"

int main(int inNumArgs, const char * inArgs[])
{
	float radius = 1.0f;
	
	while (YES)
	{
		Circle * circle = [[Circle alloc] initWithRadius:100.0f x:0.0f y:10.0f];
		
		float surface = [circle surface];
		
		NSLog(@"A circle with radius %.2f has a surface of %.2f", radius, surface);
		
		// Uncomment the line below to fix the memory leak
		// [circle release]; circle = nil;
		
		radius += 1.0f;
		
		sleep(1);
	}
	
	return 0;
}