Answer Posted / kapil
#include<stdio.h>
void main()
{
int i=0,j=1;
while(i<3)
{
while(j<=7)
{
if(j-i==4||j+i==4)
printf("*");
else
printf(" ");
j++;
}
printf("\n");
i++;
j=1;
}
while(j<=7)
{
printf("*");
j++;
}
}
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
Why doesnt this code work?
What is n in c?
What are the 5 elements of structure?
Describe dynamic data structure in c programming language?
What is a spanning Tree?
Is main is a keyword in c?
What are predefined functions in c?
What is the difference between far and near in c?
How we can insert comments in a c program?
What are categories used for in c?
Differentiate between a for loop and a while loop? What are it uses?
Hai what is the different types of versions and their differences
When is a void pointer used?