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

حل تمرین های c++



#include<iostream.h>
#include<conio.h>
int main()
{
int i,n,sum=0;
    cout<<"enter n:"; 
cin>>n;

for(i=1;i<=n/2;i++)
   if(n%i==0)
  {

   cout<<"\t"<<i;
   sum=sum+i;
   }
if (sum==n)
   
  cout<<"\n numbar is  kamel";
else
    
cout<<"\n numbar is not kamel";
getch();
return 0;}




نظرات() 
smart phone
چهارشنبه 1 آذر 1396 10:14 ب.ظ
What a material of un-ambiguity and preserveness
of valuable knowledge regarding unexpected feelings.
fahrenheit451.org
یکشنبه 28 آبان 1396 10:26 ق.ظ
Your means of describing all in this paragraph is actually good, every one be able to easily be aware of it, Thanks a lot.
www.stonedgirls.eu
چهارشنبه 24 آبان 1396 12:23 ب.ظ
Thank you for some other wonderful post. Where else may just
anyone get that type of info in such an ideal manner of writing?
I've a presentation subsequent week, and I'm on the look for such
info.
home security cameras amazon
سه شنبه 23 آبان 1396 12:06 ق.ظ
Create falling porch structure of your home?
Lelio Vieira Carneiro Junior
پنجشنبه 18 آبان 1396 08:33 ق.ظ
I am sure this piece of writing has touched all the internet visitors, its really
really nice article on building up new web site.
Can you stretch to get taller?
جمعه 17 شهریور 1396 01:40 ب.ظ
Superb blog! Do you have any hints for aspiring writers?
I'm planning to start my own website soon but I'm a little lost on everything.
Would you suggest starting with a free platform like Wordpress or go for
a paid option? There are so many options out there that
I'm totally overwhelmed .. Any ideas? Thank you!
reevestmkwvkxswd.page.tl
چهارشنبه 21 تیر 1396 08:25 ق.ظ
It's really a nice and useful piece of info.
I am glad that you simply shared this useful info with us.
Please stay us up to date like this. Thank you for sharing.
stacypolle.blog.fc2.com
شنبه 17 تیر 1396 12:46 ق.ظ
I'm really impressed along with your writing abilities and
also with the format on your blog. Is this a paid theme
or did you customize it your self? Anyway keep up the nice high quality
writing, it is rare to look a nice blog like this one nowadays..
foot pain ball
چهارشنبه 31 خرداد 1396 12:43 ب.ظ
I'm so happy to read this. This is the kind of manual
that needs to be given and not the random misinformation that
is at the other blogs. Appreciate your sharing this best doc.
manicure
دوشنبه 4 اردیبهشت 1396 11:40 ب.ظ
Hello to every body, it's my first go to see of this
webpage; this blog carries amazing and really good material in favor of visitors.
BHW
جمعه 1 اردیبهشت 1396 01:50 ب.ظ
Thanks very interesting blog!
BHW
شنبه 19 فروردین 1396 02:23 ب.ظ
Hi there, You have done an excellent job. I'll definitely digg it and personally recommend to my friends.
I'm confident they'll be benefited from this website.
 
لبخندناراحتچشمک
نیشخندبغلسوال
قلبخجالتزبان
ماچتعجبعصبانی
عینکشیطانگریه
خندهقهقههخداحافظ
سبزقهرهورا
دستگلتفکر
  • آخرین پستها

آمار وبلاگ

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