answersLogoWhite

0

#include<stdio.h>

main()

{

int i,j;

for(i=0;i<10;i++)//replace 10 by any no. you need

{

for(j=i;j>0;j--)

{

printf(" ");

}

for(j=10-i;j>0;j--)//here also

printf("* ");

printf("\n");

}

}

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is the use of Reverse String in C program?

The use of the reverse string in C program is used to reverse the letters in the string. An example would be reverse me would be reversed to em esrever.


How do you Write a C program to reverse an Integer number.?

Reference:cprogramming-bd.com/c_page2.aspx# reverse number


C program on left factoring in compiler design?

how to create a c program for left factoring.


How do you reverse of the answer program integers in C programming?

sense question Your makes no.


Write a c program on reverse the diagonal element of matrix?

mano ni anda yarrr


How you create c program without semicolon?

int main () {}


How do you write a C plus plus program that displays a pyramid of Xes on the screen using a for loop?

printf ("x")


How you can make c program of attendance record system?

how can create a attendece sheet in c language


Write a program in C to create a Circular Linked list?

#include&lt;iostream.h&gt;


How can you create a c program without using header file?

C programs do not require header files. If you want a C program without header files, you can simply not create them. However, you may or may not be able to include your non-header file source files.


How do you easily create Excel files in c?

You might be able to use C to extract data from an Excel file, but there is no easy way to write a program to create an Excel file.


What does the hashtag mean in programming?

In programming, specifically in C and C++, the hashtag (#) is used to include files into the main program and to create macros.