//infinate integer class driver

#include <iostream.h>
#include "Node.h"
#include "List.h"
#include "Infinateint.h" 

int main()
{
Infinateint int1, int2;
char operator1;

cout <<"Enter the first integer:";
cin >> int1;
cout << endl<<"Enter the operation: (+ or -)";
cin >> operator1;
cout << endl<<"Enter the second integer:";
cin >> int2;

switch (operator1)
{
case '+':
cout<<"Result = "<< int1 + int2 << endl;
break;
case '-':
cout<<"Result = "<< int1 - int2 << endl;
break;
default:
cout<<"not an operation, exiting..."<<endl;
}
return 0;
}
//infinate integer class driver

#include <iostream.h>
#include "Node.h"
#include "List.h"
#include "Infinateint.h" 

int main()
{
Infinateint int1, int2;
char operator1;

cout <<"Enter the first integer:";
cin >> int1;
cout <<"first integer is:"<<endl;
cout<<int1;

cout << endl<<"Enter the operation: (+ or -)";
cin >> operator1;

cout << endl;
cout <<"Enter the second integer:";
cin >> int2;
cout << "second int is:"<<endl;
cout <<int2;

switch (operator1)
{
case '+':
cout<<"Result = "<< int1 + int2 << endl;
break;
case '-':
cout<<"Result = "<< int1 - int2 << endl;
break;
default:
cout<<"not an operation, exiting..."<<endl;
return 1;
}

return 0;
}