How to print natural numbers from 1 to 10 in Reverse in C++ Program

CWC
0 Min Read

Print natural numbers from 1 to 10 in Reverse in C++ Program

# include 
using namespace std;
int main( )
{
int i;
for (i=10; i>=1; i--)
cout<<i<<" ";
return 0;
}
Share This Article
Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

English
Exit mobile version