Question: Write a class called Biglnt. The Bigint class is going to be able to hold and perform arithmetic on integers of arbitrary size (numbers with

 Write a class called Biglnt. The Bigint class is going tobe able to hold and perform arithmetic on integers of arbitrary size

Write a class called Biglnt. The Bigint class is going to be able to hold and perform arithmetic on integers of arbitrary size (numbers with thousands, millions, or billions of digits). For this daily you are only doing a small portion of this class. Yoass must contain a string internally to store the number since the Biglnt can have millions of digits in it. You must also have a private member variable of type bool that remembers if the number is positive or negative class BigInt public: BigInt); I/ Initializes the BigInt to zero BigInt (int x); I/Initializes the BigInt to have the same value as x explicit BigInt (string x);//Initalizes the BigInt to have the value of the given string BUT //must check that the string is valid or exit(1) otherwise friend ost rear& operator

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!