Advertisement
Venciity

[SoftUni C#] Introduction - 08.SquareRoot

Mar 7th, 2014
497
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.32 KB | None | 0 0
  1. /*Create a console application that calculates and prints the square root of the number 12345.
  2.  * Find in Internet “how to calculate square root in C#”.   */
  3. using System;
  4.  
  5. class SquareRoot
  6. {
  7.     static void Main()
  8.     {
  9.         Console.WriteLine("Square root of the number 12345 is {0}",Math.Sqrt(12345));
  10.     }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement