Advertisement
Guest User

Untitled

a guest
Sep 16th, 2019
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace Артурiiiiiiхочу_кушатьЭ
  8. {
  9. class Program
  10. {
  11. static void Main(string[] args)
  12. {
  13. Console.Write("x = ");
  14. float x = float.Parse(Console.ReadLine());
  15. Console.Write(" y = ");
  16. float y = float.Parse(Console.ReadLine());
  17. if ((x * x + y * y < Math.Sqrt(15)) || (x * x + y * y > Math.Sqrt(25)))
  18. Console.WriteLine(" Da ");
  19. else if ((x * x + y * y == Math.Sqrt(15)) || (x * x + y * y == Math.Sqrt(25)))
  20. Console.WriteLine(" на границе");
  21. else Console.WriteLine(" нет ");
  22. Console.ReadLine();
  23. }
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement