for drawing pattern you have to use nested loops by this we can make tabular structure with rows and columns
in nested loop outer loop will represent rows while inner row represent no of columns .
ex:- for (int i=0;i<5;i++){
for(int j=0;j<=3;j++{
cout <<"*"; //here it will print * in coloms i.e **** in this direction->
}
cout <<endl; // here it will break the line and prints ****in next line in
}
final output will be
****
****
****
****