The C# Math class has many methods that allows you to perform mathematical tasks on numbers
Math.Max(x,y)
The Math.Max(
x,
y)
method can be used to find the highest value of x and y:
The C# Math class has many methods that allows you to perform mathematical tasks on numbers
The Math.Max(
x,
y)
method can be used to find the highest value of x and y:
There is also a list of math functions available, that allows you to perform mathematical tasks on numbers.
To use them, you must include the math.h
header file in your program:
#include <math.h>