Please help me out guys I can't fully understand how this code works but I know some about it and I'm also unsure of such things about how it operates.
#include<iostream.h>
#include<conio.h>
int main()
{
for(int i=1; i<=6; i++)
{
for(int f=1; f<=i; f++)
cout<<"*";
cout<<endl;
}
system ("pause");
return 0;
}
All I know is that the first loop is responsible for the rows and the second loop is for the columns. How does this program with loops work? Please explain guys. Thanks in advance and God Bless you all!