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;
}
The Way to Programming
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;
}