Ch2_9_s4and5 - 2 Next Slide Previous Slide Second single...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Chapter 2.9: Single Result Functions 1 Next Slide Previous Slide Simple single result function declare function: type, name, argument types call function in main program define function: type, name, argument variables return calculated value to main program function statements single_result_1.cpp
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Chapter 2.9: Single Result Functions
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 2 Next Slide Previous Slide Second single result function declare function: type, name, argument types ( 5 ) call function, with 5 arguments in main define function: type, name, 5 argument variables return calculated value to main program assign constants in main single_result_2.cpp...
View Full Document

This note was uploaded on 05/19/2008 for the course ENGR 25 taught by Professor All during the Spring '08 term at Lehigh University .

Page1 / 2

Ch2_9_s4and5 - 2 Next Slide Previous Slide Second single...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online