using System;
public class Program
{
public static void Main()
double[] x = {-2, -1, 0, 1, 2, 3, 4, 5, 6,};
double m = 2.5;
double b = 3.2;
for (int k = 0; k < x.Length; k++)
double y = m*x[k] + b;
Console.WriteLine("y = "+ y);
}