Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Intuit // C# // listing_4.5 (Math. /Pow /Sin)
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here //Console.WriteLine("Hello, world!"); Console.WriteLine("Enter the x: "); double x = double.Parse(Console.ReadLine()); Console.WriteLine("Enter the y: "); Double y = double.Parse(Console.ReadLine()); Console.WriteLine("Maximum of x & y is: " + Math.Max(x,y)); double z = Math.Pow(Math.Sin(x),2) + Math.Pow(Math.Sin(y),2); Console.WriteLine("Сумма квадратов синусов чисел X & Y: " + z); } } }
run
|
edit
|
history
|
help
0
Enumeration
UTC to Ireland time convertion v1.1
בדיקה כמה פעמים מערך אחד כלול במערך אחר
Клас cstatic
Why do my posts keep getting deleted?
Programmes
Generics
TotalHours FromTicks
Evo Ivana da budes fancy :D
Random number IF var change