dahawi amer

dahawi amer

  • NA
  • 6
  • 474

table in c#

Apr 24 2016 8:35 AM
how to represent  the result of  the following program in table by using c# 2012?
 
{
Random num = new Random();
int[] pick = new int[4];
//length of job
for (int i = 0; i < pick.Length; i = i + 100)
{
L = num.Next(1000, 10000);
while (!(pick.Contains(L)))
{
pick[i] = L;
}
}
//size of job
for (int i = 0; i < pick.Length; i = i + 100)
{
size = num.Next(1000, 10000);
while (!(pick.Contains(size)))
{
pick[i] = size;
}
}
//Bndwidth
for (int i = 0; i < pick.Length; i = 1 + 100)
{
bw = num.Next(100, 1000);
while (!(pick.Contains(bw)))
{
pick[i] = bw;
}
}
//frequency of the core
for (int i = 0; i < pick.Length; i = i + 100)
{
a = num.Next(100, 1000);
while (!(pick.Contains(a)))
{
pick[i] = a;
}
}
float x = size / bw;
float y = L / a;
float exe;
exe = x + y;
}