Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- class CalculateSquareRoot
- {
- static void Main(string[] args)
- {
- int number = 12345;
- double numberSquareRoot = Math.Sqrt(number);
- double numberSqrtRounded = Math.Round(numberSquareRoot, 2);
- Console.WriteLine(numberSqrtRounded);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement