C program To Print Star 🌟 Pyramid pattern #code #star #pyramid #c #programming #program #problem

preview_player
Показать описание
C program To Print Star 🌟 Pyramid pattern #code #star #pyramid #c #programming #program #problem

In the program, the user can enter the number of rows to print the star pyramid pattern as he wishes, then the result will be displayed on the screen
Рекомендации по теме
Комментарии
Автор

I think you are a beginner
Well, so am I
But here are some things

Your first loop inside the for loop, doesn't do anything
print (""); doesn't do anything
You should and space there
So make it print(" ");

Also I think it's better to make loops like this
for(int i=0;i<n;i++)
...
Instead of
for(int i=1;i<=n;i++)
...
It's easier and you will need it to deal with arrays

michaplucinski
visit shbcf.ru