[SOLVED] SOLVED:Big number Solution

18.99 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

Rate this product

In this task, you are going to write a C++ class to handle very large numbers. The following prototype is given.
“`cpp
class LLONG
{
public:
LLONG();
LLONG(int);
LLONG(const LLONG &);
~LLONG();
void add(const LLONG &);
void subtract(const LLONG &);
void multiply(const LLONG &);
void divide(const LLONG &);
void mod(const LLONG &);
std::ostream & output (std::ostream &);
int compare(const LLONG &);
// return 0 for equal, 1 for , -1 for <
private:
… // your design here
… // you are not allowed to use string here
};
“`

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.