Ask Question
8 April, 07:39

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");

}

+1
Answers (1)
  1. 8 April, 10:33
    0
    It's invalid code. The include statement is incomplete
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “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 ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers