Broken calculator

what type of data type should we use here?

@Himanshu-Sajwan-2271264282963988 You have to find the factorial of very large numbers. You can’t store the factorials of 100, 200… for that you can use array which can store upto 10^6 size. Idea is to spilt the number into digits and to store each digit in the array and then perform actions digit wise. Try to find a logic.