16 lines
616 B
C#
16 lines
616 B
C#
using System;
|
|
|
|
class Program {
|
|
static void Main(string[] args) {
|
|
Console.WriteLine(Math.E); //E
|
|
Console.WriteLine(Math.PI); //PI
|
|
Console.WriteLine(Math.Sqrt(10)); //Square Root
|
|
Console.WriteLine(Math.Log(10)); // Logarithm
|
|
Console.WriteLine(Math.Log10(10)); // Base 10 Logarithm
|
|
Console.WriteLine(Math.Exp(10)); // Exponential
|
|
Console.WriteLine(Math.Abs(10)); //Absolute value
|
|
Console.WriteLine(Math.Floor(10.0)); //Floor
|
|
Console.WriteLine(Math.Ceiling(10.0)); //Ceiling
|
|
Console.WriteLine(Math.Pow(2, 5)); // Exponentiation
|
|
}
|
|
}
|