Computer Science, asked by sudeepku72, 6 months ago

Print the
Pattern (output)
1 1 1 1 1
2 2 2 2 2
3 3 3 3 3

Answers

Answered by AbdulHafeezAhmed
20

Your answer bro:

I'm giving you the program in c++

#include<iostream.h>

#include<conio.h>

void main()

{

clrscr();

             for(int i=0; i<6; i++)

                         { cout<<"1"; }

cout<<"\n";

             for(i=0 ; i<6; i++)

                          { cout<<"2"; }

cout<<"\n";

               for(i=0; i<6; i++)

                           { cout<<"3"; }

getch();

}

Please mark me brainliest

Similar questions