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;
- namespace Артурiiiiiiхочу_кушатьЭ
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.Write("x = ");
- float x = float.Parse(Console.ReadLine());
- Console.Write(" y = ");
- float y = float.Parse(Console.ReadLine());
- if ((x * x + y * y < Math.Sqrt(15)) || (x * x + y * y > Math.Sqrt(25)))
- Console.WriteLine(" Da ");
- else if ((x * x + y * y == Math.Sqrt(15)) || (x * x + y * y == Math.Sqrt(25)))
- Console.WriteLine(" на границе");
- else Console.WriteLine(" нет ");
- Console.ReadLine();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement