تبلیغات
برنامه نویسی به زبان ++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 مرداد 1398 06:22 ب.ظ
Hello, just wanted to mention, I liked this article.
It was practical. Keep on posting!
دوشنبه 7 مرداد 1398 11:38 ب.ظ

Kudos, Plenty of stuff.

drugs for sale canadian medications online canada drug pharmacy pharmacy times cialis canadian pharmacy canadian mail order pharmacies canada online pharmacies medication canadian rx world pharmacy drugstore online shopping canadian pharmacy online 24
جمعه 21 تیر 1398 07:16 ب.ظ
Useful info. Lucky me I found your web site by accident, and I'm
shocked why this coincidence did not took place earlier! I bookmarked
it.
جمعه 21 تیر 1398 05:27 ب.ظ
An outstanding share! I have just forwarded this onto a coworker who has been conducting a little homework on this.
And he actually bought me dinner simply because I stumbled upon it
for him... lol. So allow me to reword this....
Thanks for the meal!! But yeah, thanks for spending some time to discuss this issue here
on your web site.
جمعه 21 تیر 1398 08:11 ق.ظ
If you desire to obtain much from this article then you have to apply such techniques to your won blog.
جمعه 7 تیر 1398 06:59 ق.ظ
My programmer is trying to persuade me to move to .net from PHP.

I have always disliked the idea because of the costs.
But he's tryiong none the less. I've been using Movable-type on several websites
for about a year and am worried about switching to
another platform. I have heard good things
about blogengine.net. Is there a way I can transfer all my wordpress content
into it? Any kind of help would be really appreciated!
چهارشنبه 5 تیر 1398 04:41 ق.ظ
I blog often and I truly appreciate your content.
This great article has really peaked my interest.
I am going to take a note of your blog and keep checking for new details about once a week.
I subscribed to your Feed too.
چهارشنبه 5 تیر 1398 12:42 ق.ظ
Hey! This post couldn't be written any better!
Reading this post reminds me of my previous room mate!
He always kept chatting about this. I will forward this page to him.

Fairly certain he will have a good read.
Many thanks for sharing!
سه شنبه 4 تیر 1398 04:23 ق.ظ
Hey just wanted to give you a quick heads up. The words in your content seem to be
running off the screen in Firefox. I'm not sure if this is a format issue
or something to do with internet browser compatibility but I
thought I'd post to let you know. The style and design look great though!
Hope you get the problem resolved soon. Thanks
سه شنبه 4 تیر 1398 01:51 ق.ظ
Hey there! I know this is kinda off topic but I was wondering which blog platform are you
using for this site? I'm getting tired of Wordpress because I've had issues with hackers and I'm looking at options for another platform.
I would be fantastic if you could point me in the direction of a good platform.
سه شنبه 4 تیر 1398 01:33 ق.ظ
Nice post. I learn something totally new and challenging on sites I stumbleupon on a daily basis.
It's always interesting to read content from other writers and practice something from other sites.
سه شنبه 4 تیر 1398 01:19 ق.ظ
Hey are using Wordpress for your blog platform? I'm new to the blog world but I'm trying to get started and set
up my own. Do you require any html coding knowledge to make
your own blog? Any help would be greatly appreciated!
سه شنبه 4 تیر 1398 12:13 ق.ظ
I'm no longer sure where you're getting your information, but great topic.
I needs to spend some time studying much more or figuring out more.
Thank you for fantastic information I used to be searching for this information for my mission.
سه شنبه 4 تیر 1398 12:10 ق.ظ
If some one wants expert view regarding running a blog afterward i recommend him/her to pay a visit this web site, Keep up the
nice work.
دوشنبه 3 تیر 1398 06:15 ق.ظ

Thanks a lot! An abundance of advice!

cialis purchasing cialis 5 mg para diabeticos cialis 20mg enter site very cheap cialis cialis online deutschland viagra vs cialis vs levitra cialis 5 mg funziona cialis 100 mg 30 tablet click now buy cialis brand pastillas cialis y alcoho
شنبه 1 تیر 1398 06:50 ق.ظ

Kudos. Numerous tips!

cialis mit grapefruitsaft cialis side effects dangers cialis dosage recommendations prix cialis once a da cialis dosage recommendations we like it cialis soft gel cialis 30 day sample cialis diario compra cialis tablets for sale cialis 20mg prix en pharmacie
جمعه 31 خرداد 1398 02:46 ب.ظ

Kudos. Good information!
achat cialis en suisse buy generic cialis cialis tablets australia we like it cialis soft gel cialis australia org cialis authentique suisse only now cialis for sale in us cialis generisches kanada cialis 5 mg effetti collateral cialis uk next day
پنجشنبه 30 خرداد 1398 10:23 ب.ظ

Seriously a good deal of very good information.
cilas overnight cialis tadalafil bulk cialis dosagem ideal cialis cialis cuantos mg hay we use it 50 mg cialis dose tadalafil wow cialis tadalafil 100mg link for you cialis price brand cialis generic
چهارشنبه 29 خرداد 1398 11:18 ق.ظ

You said it very well.!
cost of cialis per pill cialis 200 dollar savings card acheter du cialis a geneve rezeptfrei cialis apotheke cialis daily dose generic buying brand cialis online online cialis achat cialis en europe cialis 20mg prix en pharmacie cialis prezzo in linea basso
سه شنبه 28 خرداد 1398 06:55 ب.ظ

You actually stated it very well!
sublingual cialis online cost of cialis per pill cialis soft tabs for sale cialis per paypa prices for cialis 50mg we use it cialis online store interactions for cialis enter site very cheap cialis prix de cialis cuanto cuesta cialis yaho
یکشنبه 26 خرداد 1398 04:59 ب.ظ

Wonderful forum posts. Many thanks!
look here cialis order on line cialis 5 effetti collaterali generic cialis pro brand cialis generic generic cialis in vietnam cialis tablets interactions for cialis cialis daily new zealand acquisto online cialis how to purchase cialis on line
یکشنبه 26 خرداد 1398 02:21 ق.ظ

Superb material. Thanks!
recommended site cialis kanada american pharmacy cialis when can i take another cialis i recommend cialis generico comprar cialis navarr viagra vs cialis cialis 5 effetti collaterali buy cialis online nz prezzo di cialis in bulgaria cialis 30 day sample
جمعه 24 خرداد 1398 10:15 ب.ظ

Nicely put, Kudos!
cialis 20mg tesco price cialis prix de cialis we like it safe cheap cialis canadian discount cialis cialis online nederland cialis canada tadalafil generic buying cialis in colombia 5 mg cialis pharmacie en ligne
پنجشنبه 23 خرداد 1398 05:43 ب.ظ

Effectively spoken without a doubt. !
tesco price cialis we choice free trial of cialis wow cialis 20 how do cialis pills work cialis lowest price cialis cost acheter du cialis a geneve usa cialis online tadalafil 20mg wow cialis tadalafil 100mg
پنجشنبه 23 خرداد 1398 04:14 ق.ظ

Nicely put, Appreciate it!
cialis rezeptfrei sterreich generic cialis at walmart cialis soft tabs for sale cialis generic availability wow cialis 20 we choice cialis pfizer india cialis 5 mg funziona when will generic cialis be available cialis daily new zealand purchasing cialis on the internet
دوشنبه 20 خرداد 1398 06:15 ق.ظ

Nicely put, With thanks.
wow look it cialis mexico cialis for sale in europa comprar cialis navarr venta de cialis canada how to purchase cialis on line bulk cialis we choice cialis pfizer india buy cialis online legal get cheap cialis tadalafil
یکشنبه 19 خرداد 1398 04:43 ق.ظ
Hey there! I know this is kinda off topic but I was wondering which blog platform
are you using for this site? I'm getting fed up of Wordpress because I've had issues with hackers and
I'm looking at alternatives for another platform.
I would be great if you could point me in the direction of a good platform.
یکشنبه 19 خرداد 1398 04:20 ق.ظ
hi!,I love your writing very so much! percentage we communicate extra about your post on AOL?
I require an expert on this area to resolve my problem.
May be that is you! Having a look ahead to peer you.
یکشنبه 19 خرداد 1398 04:04 ق.ظ
Great web site you have got here.. It's hard to find good
quality writing like yours nowadays. I seriously appreciate individuals like you!
Take care!!
یکشنبه 19 خرداد 1398 12:15 ق.ظ

Good content. Regards!
cialis 20 mg effectiveness ou trouver cialis sur le net cialis pills boards cialis manufacturer coupon cialis for sale south africa cialis italia gratis estudios de cialis genricos discount cialis cialis generico online cialis 5 mg buy
 
لبخندناراحتچشمک
نیشخندبغلسوال
قلبخجالتزبان
ماچتعجبعصبانی
عینکشیطانگریه
خندهقهقههخداحافظ
سبزقهرهورا
دستگلتفکر


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