Give the algorithm and flowchart for following C code:
#include
int main()
{
int i,j,k=0,space=1;
for(i=7;i>=1;i--)
{
for(j=1;j<=i;j++)
{
printf("%c",j+64);
}
if(i!=7)
{
for(k=1;k<=space;k++)
{
printf(" ");
}
space+=2;
}
for(j=i;j>=1;j--)
{
if(j!=7)
printf("%c",j+64);
}
printf("\n");
}
printf("\n");
}