Honestly, if you can't get this you need to learn an easier language first, you're not going to learn anything by having people spoon feed you everything. As that other guy said, use an array. An array is a series of variables, accessible by their index. Example:
Code:
int arr[9]; // You now have 10 variables
arr[0]=5; //The first variable now = 5
arr[1] = 20; // The second = 20
The way this helps you, is that in the example above, 9 can be replaced with a variable. Example:
Code:
int index = 9
int arr[index]; // You now have 10 variables
arr[0]=5; //The first variable now = 5
arr[1] = 20; // The second = 20
How this helps you is that you can now change which variable is being used per repetition of a loop. Example:
Code:
int arr[9]
for (int index = 0; index <= 9; index++)// I prefer while, so idk if this is right
{
std::cout << "Enter a number: ";
std::cin >> arr[index];
}
arr[0] now contains the first # you entered and arr[1] the second and so on.
You REALLY need a good tutorial to learn from, try C++ Language Tutorial. They have everything you need to know and then some.