تبلیغات
دنیای کامپیوتر ++c - برنامه ای بنوسید که دوعدد از ورودی دریافت کرده و بزرگترین مقسوم علیه مشترک انها را در خروجی نمایش دهد با فرض اینکه عدد اول بزرگتر از عدد دوم باشد؟
دنیای کامپیوتر ++c

برنامه ای بنوسید که دوعدد از ورودی دریافت کرده و بزرگترین مقسوم علیه مشترک انها را در خروجی نمایش دهد با فرض اینکه عدد اول بزرگتر از عدد دوم باشد؟

یکشنبه 26 اردیبهشت 1389

#include<iostream.h>
#include<conio.h>
int main()

{
int i,x,a,b;
cout<<"enter a:";
cin>>a;
cout<<"enter b:";
cin>>b;
for(i=1;i<=a;i++)
       if(a%i==0)
                cout<<i<<"\t";

cout<<"/n/n";
for(i=1;i<=b;i++)
   if(a%i==0)
                 cout<<i<<"\t";
x=a%b;

while(x!>0)

{
a=b;
b=x;
x=a%b;

}


         cout<<"/n/n the greatest number is:"<<b;

getch();
return 0;
}



What do you do when your Achilles tendon hurts?
شنبه 1 مهر 1396 04:50 ب.ظ
Howdy would you mind sharing which blog platform you're using?
I'm going to start my own blog in the near future but I'm having a hard
time deciding between BlogEngine/Wordpress/B2evolution and
Drupal. The reason I ask is because your design and style seems different then most blogs and I'm looking for something completely unique.
P.S Apologies for getting off-topic but I had to ask!
Can better posture make you taller?
دوشنبه 27 شهریور 1396 01:55 ق.ظ
Wow, superb blog layout! How lengthy have you been running a blog for?
you make blogging look easy. The overall glance of your site is wonderful, as
smartly as the content!
What causes painful Achilles tendon?
شنبه 14 مرداد 1396 08:41 ق.ظ
In fact no matter if someone doesn't understand after that its up to other people that they will help, so here
it occurs.
How do you prevent Achilles tendonitis?
جمعه 13 مرداد 1396 05:11 ق.ظ
Awesome things here. I'm very glad to look your post.
Thank you so much and I am having a look forward to contact you.

Will you kindly drop me a e-mail?
Joie
دوشنبه 9 مرداد 1396 08:28 ب.ظ
I am extremely impressed with your writing talents
as smartly as with the format for your blog. Is this a paid topic or did you modify it your self?

Anyway stay up the nice quality writing, it is rare to peer a great weblog like this one today..
What causes pain in the back of the heel?
جمعه 6 مرداد 1396 06:42 ب.ظ
whoah this weblog is great i like reading your posts. Keep up the good work!
You realize, many persons are hunting round for this info, you
could aid them greatly.
Florida
جمعه 16 تیر 1396 05:46 ب.ظ
It's perfect time to make some plans for the future and
it is time to be happy. I have read this post and if I could I
want to suggest you few interesting things or suggestions.
Perhaps you can write next articles referring to this article.
I desire to read even more things about it!
foot pain epsom salt
سه شنبه 6 تیر 1396 06:32 ب.ظ
These are truly impressive ideas in concerning blogging.
You have touched some good points here. Any way keep up wrinting.
home std test
دوشنبه 5 تیر 1396 02:39 ب.ظ
بسیار core از خود نوشتن در حالی که
ظاهر شدن دلنشین اصل آیا واقعا
کار کاملا با من پس از برخی از زمان.

جایی در سراسر جملات شما قادر به من مؤمن متاسفانه فقط برای کوتاه در حالی که.

من هنوز کردم مشکل خود را با فراز در مفروضات و یک خواهد را خوب به پر همه کسانی
شکاف. که شما که می توانید انجام من را قطعا تا پایان
مجذوب.
adenasaadat.hatenablog.com
دوشنبه 22 خرداد 1396 12:59 ب.ظ
This is the right webpage for everyone who hopes to find out about
this topic. You know a whole lot its almost tough to argue with you (not
that I personally will need to?HaHa). You definitely put a fresh spin on a subject which
has been written about for decades. Wonderful stuff, just excellent!
louiseweng.exteen.com
چهارشنبه 3 خرداد 1396 06:31 ق.ظ
My brother recommended I would possibly like this
website. He was once totally right. This put up actually made my day.
You can not consider just how much time I had spent
for this information! Thanks!
Augusto de Arruda Botelho
دوشنبه 1 خرداد 1396 09:58 ب.ظ
Hey there I am so excited I found your website, I really found you by accident, while I was looking on Yahoo for something else, Regardless I am
here now and would just like to say kudos for a incredible post and a all round interesting blog (I also love
the theme/design), I don’t have time to read through it all at the moment
but I have bookmarked it and also added your RSS feeds, so when I have time I will be back
to read more, Please do keep up the excellent jo.
blackenigma399.hazblog.com
دوشنبه 1 خرداد 1396 05:22 ق.ظ
I think what you said made a lot of sense. However, what about this?
suppose you added a little information? I am not suggesting your information isn't good., but suppose you added
a headline that makes people desire more? I mean دنیای کامپیوتر ++c - برنامه
ای بنوسید که دوعدد از ورودی دریافت کرده و
بزرگترین مقسوم علیه مشترک انها را در خروجی نمایش دهد با فرض اینکه عدد اول بزرگتر از عدد دوم باشد؟ is
kinda plain. You ought to look at Yahoo's home page and
see how they write article headlines to grab viewers to open the links.
You might try adding a video or a related picture or two
to get people excited about what you've written. Just my opinion, it would bring your website a little livelier.
Mitch
دوشنبه 25 اردیبهشت 1396 05:36 ق.ظ
Thank you, I have recently been searching for information about
this subject for ages and yours is the greatest I've discovered so far.
However, what about the conclusion? Are you positive about the source?
BHW
چهارشنبه 6 اردیبهشت 1396 07:29 ب.ظ
Oh my goodness! Incredible article dude! Thanks, However I am
encountering difficulties with your RSS. I don't know why I cannot subscribe to it.
Is there anybody else having similar RSS problems? Anyone
that knows the answer can you kindly respond? Thanx!!
manicure
سه شنبه 5 اردیبهشت 1396 12:28 ق.ظ
Wonderful article! We will be linking to this particularly great post on our site.
Keep up the good writing.
BHW
دوشنبه 4 اردیبهشت 1396 09:15 ق.ظ
Excellent blog here! Also your web site loads
up fast! What host are you using? Can I get your affiliate link to
your host? I wish my website loaded up as fast as yours lol
BHW
جمعه 25 فروردین 1396 04:12 ق.ظ
Article writing is also a excitement, if you know
afterward you can write if not it is complex to write.
BHW
جمعه 25 فروردین 1396 01:58 ق.ظ
Hi, i think that i saw you visited my blog so i came to “return the favor”.I am
trying to find things to enhance my site!I suppose its ok to use some of your ideas!!
manicure
سه شنبه 22 فروردین 1396 09:06 ق.ظ
Admiring the time and effort you put into your website and in depth
information you present. It's great to come across a blog every
once in a while that isn't the same outdated rehashed material.
Great read! I've bookmarked your site and I'm including your RSS feeds to
my Google account.
manicure
دوشنبه 21 فروردین 1396 07:44 ق.ظ
For hottest information you have to pay a quick visit the web and on web I found this web
page as a best site for latest updates.
manicure
یکشنبه 20 فروردین 1396 07:22 ب.ظ
Cool blog! Is your theme custom made or did you download it from somewhere?

A theme like yours with a few simple adjustements would really make my blog
stand out. Please let me know where you got your design. Kudos
 
لبخندناراحتچشمک
نیشخندبغلسوال
قلبخجالتزبان
ماچتعجبعصبانی
عینکشیطانگریه
خندهقهقههخداحافظ
سبزقهرهورا
دستگلتفکر


فهرست وبلاگ
پیوندهای روزانه
آرشیو
نویسندگان
آمار وبلاگ
  • کل بازدید :
  • بازدید امروز :
  • بازدید دیروز :
  • بازدید این ماه :
  • بازدید ماه قبل :
  • تعداد نویسندگان :
  • تعداد کل پست ها :
  • آخرین بازدید :
  • آخرین بروز رسانی :
جستجو
آخرین پستها