Question: Make sure to read all the requirements and rules before doing anything. and make sure to add comments to the code. The program shoudl be

Make sure to read all the requirements and rules before doing anything. and make sure to add comments to the code. The program shoudl be in C++.
This is the BigInt class
class BigInt
{
private:
vector v;
BigInt fiboHelper(BigInt n, BigInt a =0, BigInt b =1);
public:
BigInt();
BigInt(int);
BigInt(string);
BigInt operator+(BigInt);
BigInt operator-(BigInt);
BigInt operator(int);
BigInt operator*(BigInt);
BigInt operator/(BigInt);
BigInt operator%(BigInt);
BigInt operator++(int);
BigInt operator++();
BigInt operator[](int); // index function
void print();
int size();
BigInt fibo(); // calls fiboHelper
BigInt fact();
friend ostream& operator(ostream&, const BigInt&);
friend BigInt operator+(int, BigInt);
}
andvoid testUnit()
{
int space =10;
cout "\a
TestUnit:
""((n1==s1)?"true":"false") before:" before:"++s1" after:"" s2* big" big * s2"((n1==s1)?"true":"false") before:" before:"++s1" after:"" s2* big" big * s2
 Make sure to read all the requirements and rules before doing

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!