SHARE
TWEET

Untitled

a guest Mar 11th, 2014 355 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2.  
  3. class SquareRoot
  4.     {
  5.         static void Main()
  6.         {
  7.             // Direct output using Math.Sqrt method
  8.             Console.WriteLine(Math.Sqrt(12345));
  9.  
  10.             // Declaring variable, using Math.Sqrt method
  11.             int number = 12345;
  12.             Console.WriteLine(Math.Sqrt(number));
  13.         }
  14.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top