chapter 7-8

52
Chapter 7-8 Functions 1

Upload: kipp

Post on 24-Feb-2016

42 views

Category:

Documents


1 download

DESCRIPTION

Chapter 7-8. Functions. Example: Power, Square Root and Absolute values of a number. #include < cmath > … float num; float power, squareRoot , absolute; cout > num; power = pow ( num , 2 ); - PowerPoint PPT Presentation

TRANSCRIPT

Chapter 7-8

Chapter 7-8Functions1Example: Power, Square Root and Absolute values of a number#include float num; float power, squareRoot, absolute; cout > num; power = pow ( num , 2 ); cout