hey guys, have to design program to prompt for integer that represents the # of terms to use for an approximation of pi. The program I wrote runs, it just runs the loop the amount of times of the integer entered, from 1 to the integer and I only want the one time.. and also need it to only allow the integer to be less than 10,000,000 and wasn't sure how to add that in there, did some research and tried a couple different methods and they didnt seem to work. any help is much appreciated!