Error(s) found: '1'

  • Unable to perform the query 'UPDATE cpp_code SET clickthru=clickthru+1 WHERE fid=7'. Table 'cpp_code' is read only.

  • C++ MADE EASY
    Code About Us Tutorial




       
     

    Home > myCode > Absolute Value (function)

    December 1, 2009 3:49 pm

       

    Absolute Value (function)


    Posted on: 2001-09-15 10:17:43
    Number of times viewed: 403

     
     
    float absFunc(float x)
    {
    	return x<0?-x:x;
    }
    

    Please Rate this Code:



     «12039» THINKQUEST TEAM C0111571 © 2001. All Rights Reserved.