The codes works good for lower numbers but as I get higher in the sequence, the calculation goes out. Can anyone see what I\'ve done wrong?
#include