Answer:
The program to this question can be describes as follows:
Program:
#include <stdio.h> //defining header file
int main() //defining main method
{
int n,i,x=0; //defining integer variable
printf("Enter a number: "); //print message
scanf("%d",&n); //input value from the user
printf("%d\n",n); //print input value
for(i=1;i<n;i++) //loop to count reverse number
{
x=n-i; //calculate value
printf("%d\n",x); //print value
}
return 0;
}
Output:
Enter a number: 3
3
2
1
Explanation: