If you want to run the program using one small set of values you could pass them in as arguments at the command line
If you want to process an indefinite number of values, you could investigate cin and cout - ie get the program to prompt and wait for you to enter them
If you want to process large numbers of values, you could read them in from a file
Go not to cats for advice for they will just walk over the keyboard
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.