تبلیغات
حل تمرین های 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;}




نظرات() 
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.
 
لبخندناراحتچشمک
نیشخندبغلسوال
قلبخجالتزبان
ماچتعجبعصبانی
عینکشیطانگریه
خندهقهقههخداحافظ
سبزقهرهورا
دستگلتفکر
  • آخرین پستها

آمار وبلاگ

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