Print the
Pattern (output)
1 1 1 1 1
2 2 2 2 2
3 3 3 3 3
Answers
Answered by
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