تبلیغات
دانلود سورس پروژه های مختلف برنامه نویسی، آموزش برنامه نویسی - سورس مثلث خیام پاسکال
دانلود سورس پروژه های مختلف برنامه نویسی، آموزش برنامه نویسی
دانلود رایگان سورس پروژه
سایت برنامه نویسی تک کدر takcoder.ir


آموزش برنامه نویسی با استفاده از نوین ترین روش و ارائه پروژه های نمونه و مجموعه عظیم سورس کدهای آماده برای شما دوستان

مدیر سایت : Yahya Taherzadeh
نویسندگان
نظرسنجی
زبان برنامه نویسی مورد علاقه شما؟






میدونید که مثلث خیام پاسکال یکی از نمونه مسئله هایی است  که یک دانشجو باید بتواند حل کند، میتوانید با استفاده از کد زیر و درک برنامه، برای خود یک برنامه دیگه بنویسید.
نحوه ی تولید مثلث خیام پاسکال
#include <iostream.h>
#include <conio.h>
#include <iomanip.h>
int c(int i,int j)
{
    int k;
    if ((i==j)||(j==1))
        k=1;
    else
        k=c(i-1,j-1)+c(i-1,j);
    return k;
}
int main ()
{
    int k=26;
    for (int i=1; i<13 ;i++)
    {
        cout << "\n";
        cout << setw(k);
        for (int j=1; j<=i;j++)
            cout << c(i,j)<< setw(4);
        k=k-2;
    }
cout<<"\n\n";
    getch();
    return 0;
}





نوع مطلب : پروژه های رایگان، سی| سی پلاس پلاس، آموزش، پروژه های تکمیل شده، 
برچسب ها : الگوریتم خیام، سورس خیام، سورس پاسکال، الگوریتم پاسکال، الگوریتم خیام پاسکال، سورس خیام پاسکال، pascal،
لینک های مرتبط :
Yahya Taherzadeh
جمعه 22 آذر 1392
پنجشنبه 26 مهر 1397 09:47 ب.ظ
Hey just wanted to give you a quick heads up. The words in your article seem to be running off the screen in Chrome.
I'm not sure if this is a format issue or something to do with web browser
compatibility but I thought I'd post to let you know.
The design and style look great though! Hope you get the issue resolved
soon. Many thanks
پنجشنبه 26 مهر 1397 12:05 ب.ظ
Thanks for finally talking about >دانلود سورس پروژه های مختلف برنامه
نویسی، آموزش برنامه نویسی - سورس مثلث خیام پاسکال <Liked it!
پنجشنبه 19 مهر 1397 05:28 ب.ظ
Magnificent beat ! I wish to apprentice at the same
time as you amend your website, how could i subscribe for a weblog
website? The account aided me a appropriate deal.
I were a little bit familiar of this your broadcast provided vivid clear concept
سه شنبه 10 مهر 1397 08:35 ق.ظ
I am regular reader, how are you everybody? This article posted
at this website is genuinely fastidious.
شنبه 7 مهر 1397 05:05 ق.ظ
Hello I am so excited I found your blog page, I really found you by error,
while I was looking on Google for something else, Nonetheless I am here now and would just like
to say kudos for a tremendous post and a all round thrilling
blog (I also love the theme/design), I don’t have time
to go through it all at the moment but I have bookmarked it
and also added in your RSS feeds, so when I have time I will be
back to read more, Please do keep up the excellent jo.
سه شنبه 20 شهریور 1397 12:16 ق.ظ
We stumbled over here by a different web page and thought I might check things out.
I like what I see so now i'm following you. Look
forward to looking at your web page repeatedly.
سه شنبه 17 مرداد 1396 03:49 ق.ظ
Hmm it appears like your website ate my first comment (it was extremely long) so I guess I'll just
sum it up what I had written and say, I'm thoroughly enjoying your blog.
I too am an aspiring blog blogger but I'm still new to everything.
Do you have any recommendations for rookie blog writers? I'd certainly appreciate it.
دوشنبه 16 مرداد 1396 08:41 ب.ظ
Wow that was odd. I just wrote an extremely long comment but after I clicked submit my comment didn't show up.
Grrrr... well I'm not writing all that over again. Regardless, just wanted to say wonderful blog!
دوشنبه 16 مرداد 1396 07:37 ق.ظ
This is very fascinating, You're an excessively professional blogger.

I have joined your feed and look ahead to looking for
more of your magnificent post. Also, I've shared your website
in my social networks
جمعه 6 مرداد 1396 10:34 ب.ظ
Hurrah, that's what I was exploring for, what a data!
present here at this weblog, thanks admin of this site.
جمعه 6 مرداد 1396 06:51 ب.ظ
I love looking through an article that will make people think.
Also, thanks for allowing for me to comment!
یکشنبه 11 تیر 1396 09:06 ق.ظ
These are genuinely impressive ideas in regarding blogging.

You have touched some good things here. Any way keep up wrinting.
شنبه 3 تیر 1396 04:38 ب.ظ
Glad to be one of the visitors on this amazing website :D.
چهارشنبه 31 خرداد 1396 06:11 ب.ظ
We are a group of volunteers and starting a brand new scheme in our community.
Your web site offered us with helpful information to
work on. You've done an impressive task and our whole community will
likely be thankful to you.
دوشنبه 1 خرداد 1396 07:22 ب.ظ
Hey! Would you mind if I share your blog with my zynga group?
There's a lot of people that I think would really
appreciate your content. Please let me know.
Thank you
یکشنبه 31 اردیبهشت 1396 10:13 ب.ظ
This is the right website for anyone who wants to understand
this topic. You realize a whole lot its almost tough to argue
with you (not that I really will need to?HaHa).

You certainly put a fresh spin on a topic which
has been discussed for many years. Excellent stuff, just excellent!
شنبه 30 اردیبهشت 1396 08:43 ق.ظ
Fantastic web site. Lots of helpful info here.
I am sending it to some pals ans also sharing in delicious.
And naturally, thank you for your sweat!
جمعه 29 اردیبهشت 1396 01:39 ق.ظ
Hi there, i read your blog occasionally and i own a similar one
and i was just curious if you get a lot of spam remarks?
If so how do you reduce it, any plugin or anything you can advise?
I get so much lately it's driving me insane so any support is very much appreciated.
چهارشنبه 13 اردیبهشت 1396 01:46 ب.ظ
I always used to read piece of writing in news papers but now
as I am a user of internet thus from now I am using net for content, thanks to web.
پنجشنبه 31 فروردین 1396 02:05 ب.ظ
Thanks very nice blog!
جمعه 25 فروردین 1396 07:50 ب.ظ
Article writing is also a excitement, if you know then you can write if not
it is difficult to write.
جمعه 18 فروردین 1396 05:09 ب.ظ
Inspiring story there. What occurred after? Good luck!
 
لبخندناراحتچشمک
نیشخندبغلسوال
قلبخجالتزبان
ماچتعجبعصبانی
عینکشیطانگریه
خندهقهقههخداحافظ
سبزقهرهورا
دستگلتفکر




صفحات جانبی
آمار وبلاگ
تاییدیه پرداخت
تبلیغات
به سایت تک کدر خوش آمدید