answersLogoWhite

0

#include<stdio.h>

02#include<conio.h>

03main()

04{

05 int z,a,b,c;

06 clrscr();

07 printf("Level/s:");

08 scanf("%d",&c);

09 for(z=c;z>=1;z--)

10 {

11 for(a=0;a<=z;a++)

12 {

13 printf(" ");

14 }

15 for(b=c;b>=1;b--)

16 {

17 printf("*");

18 }

19 c=c-1;

20 printf("\n ");

21 }

22 getch();

23}

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

How do you hide input password in c?

Do not echo the keystrokes, output an asterisk instead.


What are the wildcard characters in C?

The wildcard characters in C programming include the asterisk (*) and the question mark (?). An asterisk stands for any missing number of characters in a string while a question mark represents exactly one missing character.


Which teotihuacan pyramid faces the sunset on August 12?

C. Pyramid of the Sun


Where was the first pyramid built and who was it bult for?

The first pyramid was the stepped pyramid of Zoser. It can be seen in Saqqara, Egypt. It was built c.4770 years ago. The first smooth-faced pyramid was built for Snefru in c. 2620BC.


When was the earliest pyramid made?

The earliest known Pyramid is the step pyramid at Saqarra built for the pharaoh Djoser c.2600BC


The first pyramid name?

The Step Pyramid of king Djoser c.2900BC at Saqqara


Was the pyramid of Giza the first pyramid to be built in Giza?

No it was not the first pyramid was the Step Pyramid of the 3rd dynasty Pharaoh Djoser built c.2650BC at Saqqara.


What is the concept of asterisk in c plus plus?

An asterisk in C++, such as int *data, is what's known as a pointer. A pointer is like a regular variable, but instead of holding a value, a pointer holds the memory location of the value. It's a somewhat difficult concept, and you can learn more about it here: See related links section below...


What is a comment line How is a comment line noted within a file in Computer Science?

It all depends on your language. In C, you would use // for a single line comment that ends at the end of the line (in a MS compiler) /* or the slash and asterisk that ends at an asterisk and a slash */


What are the codes for a ge universal remote rc24993 c?

what are the codes for the ge uniersal remote rc24993-c


What was the first type of pyramid built in 6 stages?

The step pyramid of Djoser (c.2650BC) at Saqarra


Why is the Great Pyramid for Khufu?

Khufu was the pharaoh (you might recognize as king) in the pyramid not the pyramid itself. This pyramid was called The Great Pyramid (and sometimes-)of Giza. This pyramid was the tallest pyramid.