WHAT HAVE YOU TRIED?!


hopefully that stands out. here is an example of counting from -42 to 42:

Code:
int start = -42;
int end = 42;

while ( start <= end )
{
   cout << start << endl;
   start++;
}
this is basically giving you the answer, apart from the logic you must add to suit your requirements. i.e., what number do you have to start at? end at? inside the loop you print something (cout)? inside the loop you do some calculation (start++)?