If you use the long int, it gives a range of about 4 million, but that is not enough if the numbers from 1 to a million are added, and the sum is 50000005000000 or something like that...I looked up on the help manual and you can also use long double, but I don't know how to use that...I also don't know how to use the printf function with long int and long double...