Broken Calculator

How should I increase the range of the output?
I tried using unsigned long long but still not working.

hello @Anaghajain
no datatype in c++ is capable of holding such large values, so you’ll have to think of some other technique (array ?) .
You can refer to this article

1 Like

Okay thank you. I’ll try to implement this.