using System.Collections.Generic;
static void Main(string[] args)
Random rnd = new Random();
int w = Polygon.GetClientWidth();
int h = Polygon.GetClientHeight();
Point yBottom = new Point(0, -h / 2);
Point yTop = new Point(0, h / 2);
Polygon yAxis = new Polygon(yBottom, yTop);
Point xLeft = new Point(-w / 2, 0);
Point xRight = new Point(w / 2, 0);
Polygon xAxis = new Polygon(xLeft, xRight);
Point L = new Point(-w / 2, m * -w / 2 + b);
Point R = new Point(w / 2, m * w / 2 + b);
Polygon LR = new Polygon(L, R);
Point P = new Point(x, y);
Polygon pL = new Polygon(30, 4);
Polygon lineCaption = new Polygon(10, 0);
lineCaption.Move(-w / 2 + 100, h / 2 - 100);
lineCaption.SetCaption("Y = " + m + "X + " + b);
Console.WriteLine("====================");
Console.WriteLine("Y = " + m + "X + " + b);
Console.WriteLine("====================");
Console.WriteLine("X = {0}", x);
Console.WriteLine("====================");
Console.WriteLine("What Is Y Value?");
answer = int.Parse(Console.ReadLine());
Console.WriteLine("====================");
Console.WriteLine("Lower");
Console.WriteLine("====================");
Console.WriteLine("====================");
Console.WriteLine("Higher");
Console.WriteLine("====================");
for (int i = 0; i <= 5; i++)
pL.SetBrushColor(System.Drawing.Color.DarkRed);
pL.SetBrushColor(System.Drawing.Color.White);
pL.SetBrushColor(System.Drawing.Color.DarkGreen);
Console.WriteLine("CORRECT!");