I have this c++ code for my uni project...
for (int a=0; a<definedgroups; a++)
{
cout << "Enter Lower number for group " << a << ": ";
cin >> User_Groups [a] [0] ;
}
Now I want to declare another loop that displays the number
could I use A from the first variable and say...
while (a>0)
{
displays code, have written yet
}
or is that "a" only recognised in that first for loop.
Thanks