تبلیغات
مبانی کامپیوتر و برنامه نویسی - برنامه ی C++
مبانی کامپیوتر و برنامه نویسی
...با نظراتتون به ما در کیفیت بخشی وبلاگ کمک کنین...
سه شنبه 15 دی 1388

برنامه ی C++

سه شنبه 15 دی 1388

نوع مطلب :
نویسنده :احسان معنوی

( This is the first Code in C++ language )


#include
void main()
{
 int Baghimande = 0;
 int KharejeGhesmat = 10;
 int Mabna = 0;
 int Adad = 0;
 int i = 0;
 int Counter = 0;
 int Javab[50];
 cout << "Adad ra vared konid : ";
 cin >> Adad;
 cout << "Mabna ra vared konid : ";
 cin >> Mabna;
 for(Counter=0;KharejeGhesmat>=Mabna;Counter++)
 {
  KharejeGhesmat = Adad / Mabna;
  Baghimande = Adad % Mabna;
  Adad = KharejeGhesmat;
  Javab[Counter] = Baghimande;
 }
 Javab[Counter] = KharejeGhesmat;
 for(i=Counter;i>=0;i--)
 {
  cout << Javab[i];
 }
}




http://katecalvin.weebly.com
دوشنبه 16 مرداد 1396 07:16 ق.ظ
Greetings from Carolina! I'm bored to death at work so
I decided to browse your website on my iphone during lunch break.

I really like the information you present here and can't
wait to take a look when I get home. I'm shocked
at how fast your blog loaded on my mobile .. I'm not even using WIFI, just 3G ..
Anyhow, good blog!
Can you get an operation to make you taller?
دوشنبه 16 مرداد 1396 04:49 ق.ظ
Hi there, I found your web site by means of Google while
looking for a similar topic, your website got here up, it
appears to be like great. I've bookmarked it in my google bookmarks.


Hi there, just turned into aware of your blog through Google, and located that it's really informative.
I am gonna be careful for brussels. I'll appreciate if you proceed this in future.
A lot of folks might be benefited out of your writing. Cheers!
https://larainefesperman.wordpress.com/
جمعه 13 مرداد 1396 11:09 ق.ظ
Attractive part of content. I simply stumbled upon your web site and
in accession capital to claim that I get in fact enjoyed account your weblog posts.
Any way I will be subscribing in your augment and even I success you access constantly quickly.
Why do they call it the Achilles heel?
یکشنبه 8 مرداد 1396 05:12 ق.ظ
I like it whenever people get together and share opinions.
Great blog, continue the good work!
Rex
دوشنبه 25 اردیبهشت 1396 03:34 ب.ظ
Thanks in favor of sharing such a nice opinion, post is nice, thats why i have read it entirely
manicure
دوشنبه 21 فروردین 1396 10:14 ب.ظ
Your mode of explaining the whole thing in this piece of writing is truly fastidious, all can easily understand it,
Thanks a lot.
manicure
دوشنبه 21 فروردین 1396 05:17 ب.ظ
Its like you read my mind! You appear to know a lot about this, like you wrote the book in it or something.
I think that you can do with a few pics to drive the message
home a bit, but other than that, this is excellent blog.
An excellent read. I'll certainly be back.
کی2
پنجشنبه 30 اردیبهشت 1389 11:39 ب.ظ
برو بابا تموم سورس کداتو یه بچه 4.03ساله هم حل می کنه.
پنجشنبه 6 اسفند 1388 08:49 ب.ظ
برنامه ای بنویسید که یک عدد را دریلفت مجموع ارقام ان را بدهد
 
لبخندناراحتچشمک
نیشخندبغلسوال
قلبخجالتزبان
ماچتعجبعصبانی
عینکشیطانگریه
خندهقهقههخداحافظ
سبزقهرهورا
دستگلتفکر