Here is a simple program that prints 0 to 9 integers.
My question is, is there a way in which I can, for example, access these numbers individually and allows me to manipulate them, for example, by multiplying them together or adding or subtracting them from each other and so on. I mean I know one way of getting their total but I don't want to access the numbers as a set but as individual numbers. So for example instead of just getting the total, I want to add 1+3 from these numbers or multiply 2 and 5 and so on. Thanks in advance.Code:#include <iostream> using namespace std; int main () { int x; for (x=0;x<10;x++) cout<< x; return 0; }