fabs() c++
#include <iostream>
#include <cmath>
int main() {
double number = -3.14;
double absoluteValue = std::fabs(number);
std::cout << "Original number: " << number << std::endl;
std::cout << "Absolute value: " << absoluteValue << std::endl;
return 0;
}