给出正数N,打印从1到N的数字以逆序.
生成一个正确的C++程序,
```c++
#include <iostream>
using namespace std;
int main()
{
    int N;
    cout << "Enter a positive number N: ";
    cin >> N;
    for (int i = N; i >= 1 ; --i) // loop from N to 1 in reverse order
    {
        cout << i << " ";
    }
    return 0;
}
```