Answer:
The program to this can be described as follows:
Program:
#include <iostream> //defining header file
using namespace std;
int main() //defining main method
{
int number,l,value=0; //defining integer variables
cout<<"UserNum = "; //print message
cin>>number; //input value by user-end
cout<<"Ouput: Ready!"<<endl<<number<<endl; //print input value with message
for(l=1;l<number;l++) //loop print value in reverse order
{
value=number-l; //calculate value
cout<<value<<endl; //print value
}
cout<<"Blastoff!"; //print message
return 0;
}
Output:
UserNum = 3
Ouput: Ready!
3
2
1
Blastoff!
Explanation:
Description of the above code: