Ok doing a progy in c++ to average 4 numbers. Seems simple enough. Its for school, and I'm take vb and c++ together. well anyways. I can't seem to understand how to make it loop when I want and terminate when I want. I'm sure it's simple enough, but I've failed to see how to do it. Any help would be appreciated.

Code:
#using <mscorlib.dll>
#include <stdlib.h>
#include <iostream>

using namespace std;
using namespace System;

int main()

{
double a = 0;
double b = 0;
double c = 0;
double d = 0;
double Average = 0.0;
String *anotherAverage = "";
Boolean Y = 1;
Boolean N = 0;

do

{system("CLS");

Console::Write("Enter first number: ");
	a = Convert:: ToDouble(Console::ReadLine());

Console::Write("Enter second number: ");
	b = Convert::ToDouble(Console::ReadLine());

Console::Write("Enter third number: ");
	c = Convert:: ToDouble(Console::ReadLine());

Console::Write("Enter fourth number: ");
	d = Convert:: ToDouble(Console::ReadLine());

Average = a + b + c + d /4;

Console::WriteLine("Average: {0}",
Average.ToString("N2"));

Console::Write("Do you want to get another average? (Y/N)");
anotherAverage =(Console::ReadLine());
}
while (anotherAverage != 0);
cin.get();




return 0;
}

//end of main function

oh, and this is my first ever program written from scratch...so don't be to harsh, with practice and time I hope to become ALOT better. Thanks again.