Pattern coding pyramid coderinme

Program to print

9
88
777
6666
55555
444444
3333333
22222222
111111111

#include
using namespace std;
int main()
{
int i,j,n;
cin>>n;
for(i=n; i>=1; i–){
for(j=i;j<=n;j++){ cout<

Leave a reply:

Your email address will not be published.