urgent help
hello group
hi, i am a beginner, i do a program to work equation but it cannot work well,
i need your help ,thank you very much.
using System;
using System.Globalization;
namespace ConsoleApplication2
{
class Class1
{
static void Main(string[] args)
{
{
int i, j, k;
double client, temp = 0.0;
double[,] a=new double[3,4];
int n=3;
///matrix a
for (i = 0; i < 3; i++)
{
for (j = 0; j < 4; j++)
{
a[i,j]=(i+2)*(i+3)+1;
}
}
for(k = 0; k < n  1; k++)
{
for(i = k + 1; i < n; i++)
{
client = a[i,k]/a[k,k];
for(j = k + 1; j < n; j++)
a[i,j] = a[i,j]  client * a[k,j];
a[i,n] = a[i,n]  client * a[k,n];
}
}
//the last unknown value
a[n  1,n] = a[n  1,n]/a[n  1,n  1];
{
for(i = n  2; i >= 0; i)
{
for (j = i + 1; j < n; j++)
temp += a[i,j] * a[j,n];
a[i,n] = (a[i,n]  temp) / a[i,i];
}
for(i = 0; i < n; i++)
Console.Write(a[i,n]+"\t");//output }
Console.WriteLine();
}
Console.ReadLine();
}
}
}
