public static void Main()
string [] SnackName = new string [19];
Double [] SnackCalorieCount = new Double [19] ;
for ( int i=0; i<19; i++)
Console.WriteLine("please enter the name of the snack desired " );
string Name = Console.ReadLine();
Console.WriteLine("please enter the calorie count of the snack desired " );
Double Calories = Convert.ToDouble(Console.ReadLine());
SnackCalorieCount[i] = Calories;
for (int i=0; i<19; i++ )
Console.WriteLine(SnackName[i] + " is a snack with " + SnackCalorieCount[i] + " calories" );
double Min = SnackCalorieCount[0];
for (int i=0; i<19; i++ )
if (SnackCalorieCount[i] < Min)
Min = SnackCalorieCount[i];
Console.WriteLine("the snack meal with the lowest calorie is " + SnackName[MinIndex] + " as it has only " + SnackCalorieCount[MinIndex] + " calories" );