Iska program kaise lekhe bhai ? Using for loop and if else loop. 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 There is a space in between every number. For last row total no of columns is 9 including spaces
Hi Anvesha, It's a pascal triangle. #include long fact(int); int main() { int line,i,j; printf("Enter the no. of lines: "); scanf("%d",&line); for(i=0;i
@@programmer_one Thank you so much bhai. But i didnt get this long fact..what is it ? And i have visited your website i see that u guys offer few courses. May i know the fees for those courses in my mail anveshatagore@gmail.com.
fact() is the function and it's return type is long. You may also use int of small calculation. For training enquiry, fill the details:- www.softethics.com/contact.html
Amazing sir, I always find difficulties in dealing with the if-else in the pattern. You cleared all my doubts, thank you sir.
aap ke jaise aache coder nhi h ham
sir if no. of stars are in even order like if last row has 6 stars what would be the logic of this criteria?
Thanks you much sir
Thanks
Iska program kaise lekhe bhai ? Using for loop and if else loop.
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
There is a space in between every number.
For last row total no of columns is 9 including spaces
Hi Anvesha, It's a pascal triangle.
#include
long fact(int);
int main()
{
int line,i,j;
printf("Enter the no. of lines: ");
scanf("%d",&line);
for(i=0;i
@@programmer_one Thank you so much bhai.
But i didnt get this long fact..what is it ?
And i have visited your website i see that u guys offer few courses. May i know the fees for those courses in my mail anveshatagore@gmail.com.
fact() is the function and it's return type is long. You may also use int of small calculation.
For training enquiry, fill the details:-
www.softethics.com/contact.html
Esi method se reverse pyramid kese bnega
Here: ruclips.net/video/a4BuYwo2lxo/видео.html
int n hai , px aur py kya h pura too bataoooo
ruclips.net/video/a4BuYwo2lxo/видео.html
ruclips.net/video/a4BuYwo2lxo/видео.html
can we make a diamond using both
Yes, Also, refer this tutorial for diamond pattern : ruclips.net/video/QerH_P-FVCY/видео.html
@@programmer_one thank you sir with your help there became another specific way to deal with these problems
Soak liked
Bhi thinking is hi
Thanks