Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

abs in c++ used for

//abs() returns the absolute value of an integer number.
double a {-5000};
std::cout << "Result : " << std::abs(a) << std::endl;
  
Source by www.cplusplus.com #
 
PREVIOUS NEXT
Tagged: #abs
ADD COMMENT
Topic
Name
9+7 =