Out put :
10 9 8 7 6 5 4 3 2 1
9 8 7 6 5 4 3 2 1
8 7 6 5 4 3 2 1
7 6 5 4 3 2 1
6 5 4 3 2 1
5 4 3 2 1
4 3 2 1
3 2 1
2 1
1
#include <iostream>
using namespaces std;
int main ()
{
int a,b;
for(a=10;a>=1;a--)
{
cout<<endl;
for(b=10;b>=1;b--)
{
cout<<b<<" ";
}
}
}
Komentar
Posting Komentar