Welcome, Guest. Please login or register.
Did you miss your activation email?
July 23, 2016, 08:04:59 AM
Home Help Search chat Login Register 
News: Read this please.The Great Kangaroo Escape Looking for reviews of the 4th ed on Amazon!   Twitter:  @skochan

+ Official Forum for Programming in Objective-C (the iPhone Programming Language) - Stephen Kochan
|-+ Programming in Objective-C, 4th edition
| |-+ Exercises
| | |-+ Chapter 4
| | | |-+ problem 4.9
Pages: [1] Go Down
Author Topic: problem 4.9 (Read 946 times)
Posts: 9

on: February 25, 2012, 08:56:34 AM

In problem 4.9 you need  the following method.
-(double) changeSign;

My question is why should "changeSign" return a value.   I would think it would be like the clear method in program 4.6 on page 65.    That is
-(void) clear;    with no value returned. 

This also applies to the rest of problem 4.9 and to "memory Clear" and "memoryStore" in problem 4.10

Also memoryAdd in problem 4.10 needs an input but again why is there an output?
Pages: [1] Go Up
Jump to:

Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Entire forum contents (c) 2009 classroomM.com. All rights reserved.