Chapter 7-8

52
Chapter 7-8 Functions 1

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 of Chapter 7-8

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