تبلیغات
دانلود سورس پروژه های مختلف برنامه نویسی، آموزش برنامه نویسی - سورس مثلث خیام پاسکال
دانلود سورس پروژه های مختلف برنامه نویسی، آموزش برنامه نویسی
دانلود رایگان سورس پروژه
سایت برنامه نویسی تک کدر 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
یکشنبه 20 آبان 1397 10:34 ب.ظ
Nice blog here! Also your web site loads up very fast!
What web host are you using? Can I get your affiliate link to your host?
I wish my website loaded up as quickly as yours lol
شنبه 19 آبان 1397 11:56 ب.ظ
There's definately a great deal to find out about this issue.
I love all of the points you've made.
چهارشنبه 16 آبان 1397 09:54 ق.ظ
First off I would like to say terrific blog! I had a quick question in which I'd like to ask if you do not mind.
I was curious to know how you center yourself
and clear your thoughts prior to writing. I have had
a difficult time clearing my thoughts in getting my
ideas out. I truly do take pleasure in writing however it just
seems like the first 10 to 15 minutes are wasted just trying to figure out how to begin. Any suggestions or hints?
Thanks!
سه شنبه 15 آبان 1397 09:51 ب.ظ
I was recommended this website by my cousin. I'm no longer positive whether
this put up is written by him as no one else recognise such particular approximately
my difficulty. You're wonderful! Thanks!
دوشنبه 14 آبان 1397 07:26 ق.ظ
Quest bars cheap fitnesstipsnew1 quest bars cheap
516999410492780544 quest bars cheap
This blog was... how do you say it? Relevant!! Finally I have found something that helped me.
Many thanks! Quest bars cheap fitnesstipsnew1 quest bars
cheap 516999410492780544 quest bars cheap
دوشنبه 14 آبان 1397 03:44 ق.ظ
Descargar facebook http://twitter.com/descargar_hq descargar facebook
Attractive component to content. I just stumbled
upon your website and in accession capital to claim that I acquire actually loved account your blog posts.
Any way I will be subscribing on your augment and even I achievement you get entry to persistently rapidly.
Descargar facebook http://twitter.com/descargar_hq descargar facebook
جمعه 11 آبان 1397 09:01 ب.ظ
Informative article, totally what I wanted to find.
یکشنبه 6 آبان 1397 10:25 ق.ظ
It's actually a nice and helpful piece of info. I'm satisfied that you just shared this useful information with us.
Please stay us informed like this. Thank you for sharing.
شنبه 5 آبان 1397 11:38 ب.ظ
Hello, of course this post is truly good
and I have learned lot of things from it on the topic of
blogging. thanks.
پنجشنبه 3 آبان 1397 02:36 ق.ظ
You made some good points there. I checked on the net for more info
about the issue and found most individuals will go along with your views on this web site.
یکشنبه 29 مهر 1397 02:21 ب.ظ
hi!,I like your writing so so much! share we be in contact extra
about your article on AOL? I require an expert on this space
to resolve my problem. Maybe that's you! Taking a look forward to
peer you.
پنجشنبه 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.
 
لبخندناراحتچشمک
نیشخندبغلسوال
قلبخجالتزبان
ماچتعجبعصبانی
عینکشیطانگریه
خندهقهقههخداحافظ
سبزقهرهورا
دستگلتفکر


نمایش نظرات 1 تا 30


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