تبلیغات
برنامه نویسی به زبان ++c - برنامه چاپ وارون عدد اعشاری
 
برنامه نویسی به زبان ++c
درباره وبلاگ



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








آمار وبلاگ
  • کل بازدید :
  • بازدید امروز :
  • بازدید دیروز :
  • بازدید این ماه :
  • بازدید ماه قبل :
  • تعداد نویسندگان :
  • تعداد کل پست ها :
  • آخرین بازدید :
  • آخرین بروز رسانی :
این برنامه عددی اعشاری را از کاربر دریافت می کند و معکوس آن را چاپ می کند.(مثلا:۱۲.۷۳ ->۳۷.۲۱)

#include<stdio.h>
#include<conio.h>
#include<math.h>
int main()
{
   clrscr();
   float n,m=0;
   int a,k=0,j=0,i=1;
   printf("enter a number:");
   scanf("%f",&n);
   a=n;
   n=n-a;
   while(a!=0)
   {
   m+=(a%10)*pow(10,-i);
   a=a/10;
   i++;
   }
   while(n!=0)
   {
   k=n*10;
   m+=k*pow(10,j);
   j++;
   n=(n*10)-k;
   }
   printf("%f",m);
   getch();
   return 0;
}




نوع مطلب : برنامه نویسی، 
برچسب ها : برنامه معکوس اعشاری، برنامه معکوس عدد اعشاری، برنامه وارون اعشاری، برنامه وارون عدد اعشاری، برنامه وارون اعداد اعشاری، برنامه معکوس اعداد اعشاری،
لینک های مرتبط :

       نظرات
دوشنبه 9 بهمن 1391
برنامه نویس
پنجشنبه 19 مهر 1397 03:26 ق.ظ

Terrific postings. Regards!
vardenafil buy generic levitra buy 10 mg levitra generic levitra buy levitra vardenafil levitra 20 mg bayer prezzo levitra 20 mg levitra 20 mg bayer prezzo levitra online
سه شنبه 10 مهر 1397 02:40 ق.ظ

Kudos, I appreciate this.
venta cialis en espaa cialis free trial when can i take another cialis cialis cost cilas cialis authentique suisse cialis daily cialis tablets australia buying brand cialis online cialis 20 mg
یکشنبه 8 مهر 1397 12:23 ق.ظ

Thanks a lot. I value it.
generic cialis in vietnam what is cialis generic cialis at walmart chinese cialis 50 mg cialis tablets australia cialis para que sirve cialis 20mg preis cf order generic cialis online cialis generico en mexico cialis pills in singapore
شنبه 7 مهر 1397 09:01 ب.ظ

You actually mentioned that very well.
price cialis wal mart pharmacy estudios de cialis genricos cialis pills in singapore cialis cost cialis side effects dangers acquisto online cialis only here cialis pills only best offers 100mg cialis cialis kaufen wo cialis online holland
شنبه 31 شهریور 1397 03:35 ب.ظ

Position certainly considered.!
canadian medications by mail best canadian pharmacy canadian online pharmacies canadian drug store canada online pharmacies legitimate best canadian pharmacies online canada online pharmacy canadian pharmacies that are legit drugs for sale usa cialis from canada
سه شنبه 27 شهریور 1397 02:10 ب.ظ

Incredible loads of awesome tips!
side effects of cialis does cialis cause gout canadian discount cialis how do cialis pills work cialis coupon cuanto cuesta cialis yaho callus canadian discount cialis prices for cialis 50mg cialis online nederland
پنجشنبه 15 شهریور 1397 02:00 ق.ظ

You made the point.
the best site cialis tablets where to buy cialis in ontario cialis 20mg pastillas cialis y alcoho wow cialis tadalafil 100mg cialis savings card cialis sicuro in linea effetti del cialis cialis generico we choice cialis pfizer india
سه شنبه 13 شهریور 1397 06:10 ب.ظ

Wonderful data, With thanks!
drugs for sale in canada candida viagra prescriptions from canada without canada online pharmacies canadian medications by mail drugs for sale in uk buy vistagra online safe trusted pharmacy canada scam canadian pharmacy viagra pharmacy canada reviews
سه شنبه 13 شهریور 1397 03:05 ق.ظ

You actually said it terrifically.
buy cheap viagra generic online buy sildenafil generic where can i buy viagra pills buy cheap viagra get a viagra prescription online how can i order viagra buy tadalafil sildenafil citrate where can i get viagra prescription cheap generic viagra online
دوشنبه 12 شهریور 1397 07:30 ب.ظ

Cheers, An abundance of facts!

cialis daily dose generic walgreens price for cialis cialis 5mg buy cialis online cheapest only now cialis 20 mg cialis sans ordonnance effetti del cialis buy brand cialis cheap buy name brand cialis on line we recommend cialis info
دوشنبه 12 شهریور 1397 01:00 ق.ظ

Nicely put. With thanks.
generic cialis tadalafil walgreens price for cialis buy cialis sample pack cialis pills price each we recommend cialis best buy cialis free trial prezzo di cialis in bulgaria only now cialis for sale in us buying cialis overnight costo in farmacia cialis
یکشنبه 11 شهریور 1397 12:06 ب.ظ

Superb material. With thanks.
cialis prices cialis 30 day trial coupon recommended site cialis kanada cialis 5 mg effetti collateral generic cialis 20mg uk cialis taglich cialis australian price cialis pills in singapore price cialis wal mart pharmacy cialis prezzo al pubblico
یکشنبه 21 مرداد 1397 10:06 ب.ظ

You made your point very effectively!!
cialis prezzo al pubblico deutschland cialis online cialis qualitat if a woman takes a mans cialis prix cialis once a da cialis bula generic cialis with dapoxetine brand cialis generic online prescriptions cialis the best choice cialis woman
پنجشنبه 20 اردیبهشت 1397 03:23 ق.ظ

Thanks a lot, Lots of stuff.

cialis for sale deutschland cialis online we choice free trial of cialis cialis generico can i take cialis and ecstasy comprar cialis navarr cialis daily buying cialis overnight viagra vs cialis cialis prices in england
جمعه 7 اردیبهشت 1397 06:39 ب.ظ

Regards. Quite a lot of facts.

we recommend cheapest cialis cialis para que sirve viagra or cialis cialis coupon cialis uk cialis patentablauf in deutschland costo in farmacia cialis acquisto online cialis brand cialis nl sublingual cialis online
سه شنبه 4 اردیبهشت 1397 03:09 ق.ظ

Many thanks. I value it.
can i buy viagra at cvs viagra or sildenafil can i buy viagra without a prescription viagra buy online uk viagra pharmacy uk buy viagra canada online sildenafil without prescription uk viagra buy viagra pharmacy viagra buy viagra with prescription online viagra pharmacy levitra
جمعه 17 فروردین 1397 06:52 ب.ظ

You actually revealed this superbly.
prices for cialis 50mg cialis sale online cialis 5mg billiger tadalafil wow cialis 20 cialis rezeptfrei sterreich cialis from canada generico cialis mexico cialis arginine interactio rezeptfrei cialis apotheke
جمعه 3 فروردین 1397 03:05 ب.ظ

Really a lot of helpful advice.
cuanto cuesta cialis yaho cialis 20 mg best price buy cialis sample pack cilas cialis rezeptfrei tadalafil cialis rezeptfrei sterreich tadalafil cialis kaufen wo non 5 mg cialis generici
یکشنبه 27 اسفند 1396 09:55 ب.ظ

Amazing many of wonderful info.
cialis preise schweiz cialis free trial calis callus canadian cialis interactions for cialis cialis generico online cialis daily reviews cialis kaufen cialis 5 mg
سه شنبه 28 شهریور 1396 12:57 ب.ظ
I like the valuable information you provide in your
articles. I'll bookmark your blog and check again here regularly.
I am quite sure I will learn many new stuff right here!
Good luck for the next!
یکشنبه 15 مرداد 1396 11:06 ب.ظ
Woah! I'm really digging the template/theme of this site.
It's simple, yet effective. A lot of times it's tough to get that "perfect balance" between usability and appearance.
I must say you've done a fantastic job with this.
In addition, the blog loads extremely fast for me on Safari.
Excellent Blog!
یکشنبه 15 مرداد 1396 04:02 ب.ظ
Marvelous, what a website it is! This website presents valuable data
to us, keep it up.
یکشنبه 15 مرداد 1396 12:40 ق.ظ
For the reason that the admin of this web site is working, no doubt
very shortly it will be famous, due to its feature contents.
سه شنبه 29 فروردین 1396 07:18 ب.ظ
I really like reading an article that will make people think.
Also, thank you for allowing for me to comment!
دوشنبه 14 فروردین 1396 09:02 ب.ظ
It's actually a great and helpful piece of info.
I am satisfied that you just shared this helpful information with
us. Please stay us informed like this. Thanks for sharing.
دوشنبه 14 فروردین 1396 04:46 ب.ظ
I every time emailed this weblog post page to all my associates, as if like to read it then my links will too.
شنبه 12 فروردین 1396 12:32 ق.ظ
Hi, after reading this awesome post i am too happy to share
my experience here with colleagues.
شنبه 8 آذر 1393 11:35 ق.ظ
خیلی عالی
 
لبخندناراحتچشمک
نیشخندبغلسوال
قلبخجالتزبان
ماچتعجبعصبانی
عینکشیطانگریه
خندهقهقههخداحافظ
سبزقهرهورا
دستگلتفکر