Answer:
Code to this question can be described as follows:
Program:
#include <iostream> //defining header file
using namespace std;
int main() //defining main method
{
int n1,j,x1=0; //defining integer variable
cout<<"Enter a number: "; //print message
cin>>n1; //input value from the user
cout<<n1<<endl; //print input value
for(j=1;j<n1;j++) //loop to count reverse number
{
x1=n1-j; //calculate value
cout<<x1<<endl; //print value
}
return 0;
}
Output:
Enter a number: 3
3
2
1
Explanation: