Answers for "abs in c++ used for"

C++
0

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;
Posted by: Guest on April-28-2022

Browse Popular Code Answers by Language