Computer Science, asked by deetiroy2006, 9 months ago

Write a program to display the given pattern : 1 1 1 1 1 3 3 3 3 5 5 5 7 7 9

Answers

Answered by visheshsaxena49
1

Answer:

int freq=5;

for( int i=1;i<10;i+2;)

{

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

{

cout<<i;

}

freq--;

}

Answered by damakkhrera123
1

Answer:

Number Pattern 10: Display 1 to 10 number in Pattern. Example 1: 1 2 3 4 5 6 7 8 9. Program: currentNumber = 1 stop = 2 rows = 3 ...

Explanation:

please follow me my dear friend please ❤️

Similar questions