#include using namespace std; float abs_value( float x ) { if ( x < 0 ) x = -x; return( x ); } int main() { float x; cout << "Enter a number" << "\n"; cin >> x; cout << "The absoulute value of your number is " << abs_value( x ) << endl; cout << "\n\n"; system( "PAUSE" ); return( 0 ); }