print reverse hollow pyramid
print reverse hollow pyramid :-
Pattern printing in c | print reverse hollow pyramid . Reverse hollow pyramid is . :-
*********** * * * * * * * * *
So the code for reverse hollow pyramid is given below .
Pattern printing in c print reverse hollow pyramid.
Code:-
#include<stdio.h> int main() { int i,j,k; for(i=6;i>=1;i--) { for(j=1;j<=(6-i);j++) { printf(" "); } for(k=1;k<=(2*i-1);k++) { if(i==6||k==1||k==(2*i-1)) { printf("*"); } else printf(" "); } printf("\n"); } return 0; }
output:—-
*********** * * * * * * * * *
keyword:-
,Keyword, reverse pyramid number pattern in c ,inverted number pattern in c ,inverted hollow pyramid star pattern in c, inverted hollow full pyramid in python, hollow inverted right triangle star pattern in c, inverted hollow pyramid star pattern in java, write a code to generate a hollow full pyramid pattern using stars, inverted hollow pyramid in java,,reverse pyramid number pattern in c, inverted number pattern in c, inverted hollow full pyramid in python, inverted hollow pyramid in java, inverted hollow pyramid star pattern in c++, hollow inverted right triangle star pattern in c,
Also check this:-
- Primary test
- Sum or difference
- point and line
Wipro :-
- Update the booking ID | Wipro previous year question paper solution
- Pages in PDF
- Find the location id
- Find the odd digits
- Find the Product ID
Infytq :-
Key Points;-
Hackerrank:-
- Python : missing characters : hackerrank solution
- Python : string transformation | Hackerrank solution
- Active Traders certification test problem | Hackerrank Solution
- Usernames changes certification test problem | Hackerrank Solution
- string Representation of objects certification test hackerrank solution
- Average Function | hackerrank certification problem solution
C-tutorial:-
- Micros in C
- Pointer in c
- Function declaration
- Types of user define function
- return type of function
- 2D array
See more:-
- c program to convert specified days into years weeks and days
- Print Reverse Hollow Pyramid
- Update the booking ID | Wipro previous year question paper
- Pages in PDF | Wipro previous year question paper
- Sparse Matrix in data structure
- Find the location ID | Wipro previous year Coding question
- find the odd digits | Wipro Coding question
- Find the product id | Wipro Coding question
- Difference between static and dynamic memory allocation
- What is asymptotic Notation