using namespace std;
int main()
{
int a, number ;
cout<<"Enter the limit of a Number : ";
cin>>number;
for(a=number;a>=0;a--){
cout<<a<<endl;
}
return 0;
}
THE OUTPUT
Enter the limit Number : 10
10
9
8
7
6
5
4
3
2
1
0
No comments:
Post a Comment