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
What are variables c?
What is the difference between typedef struct and struct?
What is hashing in c language?
What is the c value paradox and how is it explained?
What is an arrays?
What is C language ?
What is the c language function prototype?
Write a factorial program using C.
What is #line in c?
What are local variables c?
How can a string be converted to a number?
Explain what standard functions are available to manipulate strings?
Why use int main instead of void main?
in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures
What are actual arguments?