Advertisement
rosenrusev

Problem 8 - SquareRoot

Mar 11th, 2014
1,308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5.  
  6. namespace SquareRoot
  7. {
  8. class SquareRoot
  9. {
  10. static void Main()
  11. {
  12. double squareRoot = Math.Sqrt(12345);
  13. System.Console.WriteLine("Square root of 12345 is: " + squareRoot);
  14. }
  15. }
  16. }
  17. // Console Output:
  18. // Square root of 12345 is: 111,108055513541
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement