Computer Science, asked by ananyarajddn, 9 months ago

Develop a C program to print 3 44 555 6666 77777 6666 555 44 3

Answers

Answered by intelligentpriya
0

Explanation:

Your answer is....

3

44

555

6666

555

44

3

#include <iostream>

using namespace std;

int main()

{

int n=4,num=n-1;

for(int i=1;i<=n;i++)

{

for(int j=1;j<=i;j++)

cout<<num;

num++;

cout<<endl;

}

num–;

for(int i=n;i>=1;i–)

{

for(int j=1;j<=i;j++)

cout<<num;

num–;

cout<<endl;

}

return 0;

}

Hope it helps...☺️☺️☺️

Please mark me as a brainlist....

Answered by anirudha96
0

Answer:

djjsjsjsjsnsjsnnansnnsjsjsjs

Explanation:

jxjxjdndndndnndbdbd

Similar questions