QUOTE(kazamatsurishou @ 8 Oct, 2008 - 03:19 AM)

How am I going to start writing the program?
Of course I have to say the same as no2pencil to begin with:
QUOTE(no2pencil @ 8 Oct, 2008 - 03:19 AM)

On a realistic level... with a text editor or IDE.
Then I don't know hw much you know about programming.
Do you need help with finding and setting up an IDE and/or a compiler to begin with?
Or if you have managed to do that already you should try to write a code and post it here so we can help you.
We won't do the assignment for you but we can help you if you get stuck somewhere.
Below I have put down a few leads for you by using the comments I would use to describe the code in a program that would do what you are asking for.
C++
// Includes
// Namespaces
// Main function
// Declaration of integers
// User input
// for-loop where the numbers between n1 and n2 are printed on the screen
// Return 0 to let the OS know the program ran successfully