Filter interviews by
I applied via Naukri.com and was interviewed before Aug 2022. There were 2 interview rounds.
A star pyramid program is a pattern of stars arranged in the shape of a pyramid.
Use nested loops to print spaces and stars in the desired pattern
Start with a loop to control the number of rows in the pyramid
Inside the outer loop, use another loop to print spaces before the stars
Then use a loop to print the stars in the pyramid pattern
Top trending discussions
Software Developer
6
salaries
| ₹2.4 L/yr - ₹4.5 L/yr |
Business Development Manager
6
salaries
| ₹3 L/yr - ₹7 L/yr |
Software Programmer
5
salaries
| ₹4 L/yr - ₹5.9 L/yr |
Web Developer
4
salaries
| ₹3 L/yr - ₹3 L/yr |
Programmer
4
salaries
| ₹4.5 L/yr - ₹7.2 L/yr |
Life Insurance Corporation of India
Gallagher
Canara HSBC Life Insurance
Bank of Baroda