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;
- namespace пример
- {
- class Program
- {
- static double Nka(double a)
- {
- double n = double.Parse(Console.ReadLine());
- return Math.Sqrt(n) + n;
- }
- static void Main(string[] args)
- {
- Console.Write("n=");
- double n = double.Parse(Console.ReadLine());
- double z = (Math.Sqrt(6) + (6)) / 2 + (Math.Sqrt(13) + (13)) / 2 + (Math.Sqrt(21) + (21)) / 2;
- Console.WriteLine(z);
- Console.ReadLine();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement