Amazon.com Widgets problem 4.9
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 26, 2014, 09:13:21 PM
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
Print
Author Topic: problem 4.9 (Read 671 times)
ahrydberg
Newbie
*
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?
Logged
Pages: [1] Go Up
Print
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.