public static void Main()
string [] ic = {"AOO1" ,"B001" ,"C001" ,"D001" ,"E001"};
string [] itn = {"orange","salmon","biscuit","bread","cucumber"};
double [] ip = {25.50 ,300.00, 56.30 ,3.50 ,3.50};
int [] qp = {10 ,50 ,45 ,23 ,67};
int [] sr = {60 ,45 ,32 ,50 ,49};
string [] cd = new string[1];
Console.WriteLine(" # WELCOME TO MADAM BELLE GROCER (MBG) #");
Console.WriteLine("stock remaining after resctocking :");
Console.WriteLine(ic[i] + " "+ sr[i]);
Console.WriteLine("the highest quantity purchase is "+ qp[4]);
Console.WriteLine("there are " + (i + 1) + " items that have total purchase more than RM1000");
Console.WriteLine("enter your item code :");
cd[0] = Console.ReadLine();
usercode = cd[0].ToUpper();
Console.WriteLine("Item name is :" + itn[i]);
Console.WriteLine("Item price :" + ip[i]);
Console.WriteLine("Quantity Purchase :" + qp[i]);
Console.WriteLine("Stock Remaining :" + sr[i]);
Console.WriteLine("Your total Purchase : RM" + tp);
Console.WriteLine("new price after discount 50%");
Console.WriteLine(ic[i] + "\tRM" +np);