predict the number in c