Advertisement
xellscream

PointInCircle

Nov 14th, 2012
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.34 KB | None | 0 0
  1. using System;
  2.  
  3. class PointInCircle
  4. {
  5.     static void Main()
  6.     {
  7.         int radius = 5;
  8.         int x = 3;
  9.         int y = 2;
  10.        
  11.         if (radius > x)
  12.             Console.WriteLine("The given point is within the circle.");
  13.         else
  14.             Console.WriteLine("The given point is not within the circle.");
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement