using System;
public class Program
{
public static void Main()
}
//declarar variáveis
int X= 1;
int X= 2;
int X= 0;
int X= -1;
int X= -2;
//
int afunção = 4;
int bfunção = 10;
// Entrada de dados
// Pedir os coeficientes da função de 1 grau
Console.Write("A:4");
afunção = Convert.ToInt32(Console.ReadLine(4))
Console.Write("B:10);
bfunção = Convert.ToInt32(Console.ReadLine(10))
//Aplicar a função de 1 grau
1 = 14
2 = 18
0 = 10
-1 = 2
-2 = 6