PHP:
using System;
using System.Windows.Forms;
namespace ConsoleApplication4
{
/// <summary>
/// Summary description for Class1.
/// </summary>
class Class1
{
/// <summary>
/// The main entry point for the application.
/// </summary>
///
[STAThread]
static void Main(string[] args)
{
//
// TODO: Add code to start application here
//
int[] n = { 3, 4, 6, 8, 10, 9, 15};
string output = "" ;
output += "element\tsubscript\thistogram\t";
for (int i=0; i < n.Lenght ; i++)
output += i +"\t" + n[ i ] + "\t";
for (int j=1; j < n[i] ; j++)
output += "*";
MessageBox.Show ( output,"histogram" , MessageBoxButtons.ok,
MessageBoxIcon.Information );
}
}
}
would anyone point out why this simple console doesnt compile???
i dont know whats wrong?