تبلیغات
برنامه نویسی به زبان ++c - برنامه مجموع ارقام یک عدد
 
برنامه نویسی به زبان ++c
درباره وبلاگ



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








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

#include<stdio.h>
#include<conio.h>
int sum(int n)
{
   int s=0;
   while(n!=0)
    {
    s=s+n%10;
    n=n/10;
    }
    printf("sumation is %d",s);
}
int main()
{
   clrscr();
   int n;
   printf("enter a number:");
   scanf("%d",&n);
   sum(n);
   getch();
   return 0;
}




نوع مطلب : برنامه نویسی، 
برچسب ها : زبان سی، c++، visual studio c، برنامه نویسی، سی پلاس پلاس، پروژه c، مجموع ارقام، برنامه مجموع ارقام، سورس کد، code، source code، programming،
لینک های مرتبط :

       نظرات
دوشنبه 24 بهمن 1390
برنامه نویس
جمعه 25 مرداد 1398 08:10 ق.ظ
At this time it appears like Wordpress is the best
blogging platform available right now. (from
what I've read) Is that what you're using on your blog?
شنبه 19 مرداد 1398 07:36 ق.ظ
Fantastic beat ! I wish to apprentice while you amend your web site, how can i subscribe for a blog website?
The account aided me a acceptable deal. I had been a little bit acquainted of this your
broadcast offered bright clear concept
پنجشنبه 17 مرداد 1398 08:04 ب.ظ
My partner and I stumbled over here different website and
thought I might as well check things out. I like what I see so now i'm following you.
Look forward to looking at your web page yet again.
سه شنبه 15 مرداد 1398 12:53 ق.ظ
Appreciate this post. Will try it out.
یکشنبه 13 مرداد 1398 02:58 ب.ظ
you're truly a good webmaster. The web site loading velocity
is incredible. It sort of feels that you're doing any
distinctive trick. In addition, The contents are masterwork.
you've done a excellent job on this topic!
یکشنبه 13 مرداد 1398 05:58 ق.ظ
Thanks for sharing your thoughts on برنامه.
Regards
جمعه 11 مرداد 1398 09:58 ب.ظ
Hey! Do you know if they make any plugins to safeguard against hackers?
I'm kinda paranoid about losing everything I've worked hard on. Any
tips?
سه شنبه 8 مرداد 1398 09:53 ب.ظ
Everyone loves it when folks come together and share opinions.
Great site, stick with it!
دوشنبه 7 مرداد 1398 09:15 ق.ظ
Thanks for finally writing about >برنامه نویسی به زبان ++c - برنامه مجموع ارقام یک عدد <Loved it!
یکشنبه 6 مرداد 1398 02:46 ق.ظ
Can you please click here? http://optitopt.com/3J0g You won't
regret clicking. You'll get to see a really funny picture.
یکشنبه 23 تیر 1398 09:51 ق.ظ
Hi there, all the time i used to check web site posts here in the early hours in the morning, since i like to learn more and more.
جمعه 21 تیر 1398 03:14 ب.ظ
Every weekend i used to visit this web site, for the reason that i wish for enjoyment, since this this website conations in fact good funny
material too.
شنبه 25 خرداد 1398 11:52 ب.ظ
Wonderful goods from you, man. I have understand your stuff previous to and you're just extremely fantastic.
I really like what you've acquired here, really like what you
are stating and the way in which you say it. You make
it entertaining and you still care for to keep it smart.

I can't wait to read much more from you. This is actually a wonderful
site.
پنجشنبه 9 خرداد 1398 07:13 ق.ظ
Whats up this is kind of of off topic but I was wondering
if blogs use WYSIWYG editors or if you have to manually code with HTML.
I'm starting a blog soon but have no coding expertise so I wanted to get advice from someone with experience.
Any help would be greatly appreciated!
پنجشنبه 9 خرداد 1398 12:31 ق.ظ
Wow, that's what I was looking for, what a stuff! existing here at this
website, thanks admin of this web page.
چهارشنبه 8 خرداد 1398 01:58 ب.ظ
Every weekend i used to go to see this website, for the reason that i want enjoyment, since this this web site conations actually fastidious funny stuff too.
چهارشنبه 8 خرداد 1398 01:42 ب.ظ
Hello! This is kind of off topic but I need some guidance from an established blog.
Is it tough to set up your own blog? I'm not very techincal but I can figure
things out pretty fast. I'm thinking about setting up my own but I'm not sure where to
begin. Do you have any ideas or suggestions? Cheers
چهارشنبه 8 خرداد 1398 08:10 ق.ظ
Incredible quest there. What occurred after? Take care!
چهارشنبه 8 خرداد 1398 02:03 ق.ظ
I think this is among the most significant information for me.
And i am glad reading your article. But should remark on some general things, The site style is wonderful, the articles is really nice : D.
Good job, cheers
سه شنبه 7 خرداد 1398 11:55 ق.ظ
Everyone loves it whenever people come together and share opinions.
Great website, keep it up!
شنبه 28 اردیبهشت 1398 06:02 ب.ظ
Woah! I'm really enjoying the template/theme of this website.
It's simple, yet effective. A lot of times it's difficult to get that "perfect balance"
between superb usability and visual appeal.
I must say you have done a great job with this. Additionally, the blog loads very fast for me on Safari.
Outstanding Blog!
جمعه 27 اردیبهشت 1398 11:29 ب.ظ
Microsoft PowerPoint'- that's the name hits your mind, when your boss asks you to make a
corporate presentation to a client. MS PowerPoint is no doubt a worthy presentation software,
yet with the advancement of the corporate world, you
need to think beyond simple PowerPoint slides.

Let us now see what presentation design companies have to offer you,
to make your presentation a wow.
جمعه 27 اردیبهشت 1398 03:43 ب.ظ
We are a group of volunteers and starting a new scheme in our community.
Your web site provided us with helpful info to work on. You have performed an impressive task and
our whole community will be grateful to you.
دوشنبه 12 فروردین 1398 04:09 ق.ظ
rqskxhcg tadalafil utilité http://cialissom.com cheap
cialis professional [url=http://cialissom.com/]http://cialissom.com/[/url] dosage of daily tadalafil
دوشنبه 20 اسفند 1397 03:39 ق.ظ
Awesome blog! Is your theme custom made or
did you download it from somewhere? A design like yours with a
few simple tweeks would really make my blog jump out.
Please let me know where you got your design. Kudos
یکشنبه 12 اسفند 1397 10:27 ب.ظ
Τhe Americans call it ‘Swisѕ Armmy Knife' for shߋrt.
جمعه 24 آذر 1396 05:34 ب.ظ
مقاله خوب! ما در این وب سایت به محتوای فوق العاده عالی پیوند می دهیم.

نگه داشتن نوشتن بزرگ
جمعه 12 آبان 1396 07:41 ب.ظ
سلام! من می دانم که این تا حدودی موضوع است، اما من مجبور شدم بپرسم.
مدیریت یک وبسایت معتبر مثل شما نیاز به یک بزرگ است
مقدار کار؟ من با نام تجاری جدید برای اجرای یک وبلاگ است هر چند من در مجله من هر روز بنویسید.
من می خواهم یک وبلاگ بسازم تا بتوانم تجربه و افکار خود را به صورت آنلاین به اشتراک بگذارم.
لطفا اجازه دهید من بدانم اگر شما هر ایده یا راهنمایی برای صاحبان وبلاگ نویس مشتاق نام تجاری جدید دارید.
متشکرم!
چهارشنبه 10 آبان 1396 06:13 ب.ظ
من واقعا از دارنده این وبسایت سپاسگزارم که این پست فوق العاده را به اشتراک گذاشته است
در اینجا
چهارشنبه 18 مرداد 1396 11:00 ق.ظ
Hello to every , as I am truly eager of reading this webpage's post to be updated
regularly. It includes fastidious information.
 
لبخندناراحتچشمک
نیشخندبغلسوال
قلبخجالتزبان
ماچتعجبعصبانی
عینکشیطانگریه
خندهقهقههخداحافظ
سبزقهرهورا
دستگلتفکر


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