مرحبا
موضع عن بعض العملايات الرياضية
الى اغلب المبتدئين بشتكو منها
اعملتو على console
(زكريات مع الكنسول هههه اشتقتلو هه)
Code
Console.WriteLine("Math.Abs( 23.7 ) = {0}", Math.Abs(23.7));
Console.WriteLine("Math.Abs( 0.0 ) = {0}", Math.Abs(0.0));
Console.WriteLine("Math.Abs( -23.7 ) = {0}", Math.Abs(-23.7));
Console.WriteLine("Math.Ceiling( 9.2 ) = {0}", Math.Ceiling(9.2));
Console.WriteLine("Math.Ceiling( -9.8 ) = {0}", Math.Ceiling(-9.8));
Console.WriteLine("Math.Cos( 0.0 ) = {0}", Math.Cos(0.0));
Console.WriteLine("Math.Exp( 1.0 ) = {0}", Math.Exp(1.0));
Console.WriteLine("Math.Exp( 2.0 ) = {0}", Math.Exp(2.0));
Console.WriteLine("Math.Floor( 9.2 ) = {0}", Math.Floor(9.2));
Console.WriteLine("Math.Floor( -9.8 ) = {0}", Math.Floor(-9.8));
Console.WriteLine("Math.Log( Math.E ) = {0}", Math.Log(Math.E));
Console.WriteLine("Math.Log( Math.E * Math.E ) = {0}", Math.Log(Math.E * Math.E));
Console.WriteLine("Math.Max( 2.3, 12.7 ) = {0}", Math.Max(2.3, 12.7));
Console.WriteLine("Math.Max( -2.3, -12.7 ) = {0}",
Math.Max(-2.3, -12.7));
Console.WriteLine("Math.Min( 2.3, 12.7 ) = {0}",
Math.Min(2.3, 12.7));
Console.WriteLine("Math.Min( -2.3, -12.7 ) = {0}",
Math.Min(-2.3, -12.7));
Console.WriteLine("Math.Pow( 2.0, 7.0 ) = {0}",
Math.Pow(2.0, 7.0));
Console.WriteLine("Math.Pow( 9.0, 0.5 ) = {0}",
Math.Pow(9.0, 0.5));
Console.WriteLine("Math.Sin( 0.0 ) = {0}", Math.Sin(0.0));
Console.WriteLine("Math.Sqrt( 900.0 ) = {0}",
Math.Sqrt(900.0));
Console.WriteLine("Math.Sqrt( 9.0 ) = {0}", Math.Sqrt(9.0));
Console.WriteLine("Math.Tan( 0.0 ) = {0}", Math.Tan(0.0));
Console.ReadLine();البروجيكت جاهز بالمرفقات
welcame to arabteam2000
fota.live