SyntaxFix
Write A Post
Hire A Developer
Questions
It's worth noting that Java can overload a method such as abs so that it works with an integer or a double. In C, overloading doesn't exist, so you need different functions for integer versus double.
abs