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
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;
}
Sign in to your account