34,333
edits
Changes
no edit summary
-(void) displayAccountInfo
{
NSLog (@"Account Number %i ld has a balance of %f", accountNumber, accountBalance);
}
@end
-(void) displayAccountInfo
{
NSLog (@"Account Number %i ld has a balance of %f and is earning %f interest", accountNumber, accountBalance, interestRate);
}
@end
int main (int argc, const char * argv[])
{
SavingsAccount *account1 = [[SavingsAccount alloc] init];
[account1 release];
}
</pre>