Exemple #1
0
int main(){
	
	char input;
	Counter C;

	cout<<"Please enter the digits (a = 1, s = 10, d = 100, f = 1000, o = overflow): "<<endl;
	do{
    cin >> input;
	C.enter(input);
	C.Display();
	}while (input != 'o');

	cout<<"Overflow Requested. Exiting ..." << endl;
	
	return 0;
}