This commit is contained in:
nik
2025-09-30 14:26:54 +03:00
parent 8bd93df2ae
commit 8164e04835
633 changed files with 8 additions and 8 deletions

View File

@@ -0,0 +1,27 @@
using System;
public 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 < 9 && y > 0)
{
Console.WriteLine("Внутри");
}
else if (x * x + y * y > 9 || y < 0)
{
Console.WriteLine("вне");
}
else
{
Console.WriteLine("на границе");
}
}
}