📜  绝对差c++代码示例

📅  最后修改于: 2022-03-11 14:44:56.869000             🧑  作者: Mango

代码示例1
val1 = abs(22); 
val2 = abs(-43); 
  
cout << "abs(22) = " << val1 << "\n"; 
cout << "abs(-43) = " << val2 << "\n";