تبلیغات
پروژه های رایگان برنامه نویسی و آموزش زبان C++ و C# - تعداد رقم های یک عدد
 
برنامه بدون خطا رویاست Program is impossible without an error
پروژه های رایگان برنامه نویسی و آموزش زبان C++ و C#
صفحه نخست         تماس با مدیر         پست الکترونیک        RSS         ATOM
 
 
پنجشنبه 20 فروردین 1388 :: نویسنده : سجاد سلطانی

این سورس رو هم یکی از دوستان درخواست کرده که خیلی ساه است . یک عدد از ورودی می گیره و تعداد رقم هاش و بر می گردونه .

 

#include <stdio.h>

main(){
 int x,c=0;

 printf("\n Enter A number :");
 scanf("%d",&x);

 while(x!=0){
  x/=10;
  c++;
 }

 switch(c){
  case 1: printf("\n One "); break;
  case 2: printf("\n Two "); break;
  case 3: printf("\n Three "); break;
  case 4: printf("\n Four "); break;
  default :  printf("\n Other "); break;
 }
}





نوع مطلب : پروژه های برنامه نویسی ++C، 
برچسب ها :
لینک های مرتبط :


یکشنبه 15 مرداد 1396 09:00 بعد از ظهر
My brother suggested I might like this website. He was entirely right.
This post actually made my day. You cann't imagine simply how much time I had spent for this information! Thanks!
سه شنبه 10 مرداد 1396 02:26 بعد از ظهر
Its like you read my mind! You appear to know so much about this, like
you wrote the book in it or something. I think that you could do with a few pics to drive the
message home a bit, but other than that, this is excellent blog.
A fantastic read. I will certainly be back.
شنبه 31 تیر 1396 06:40 قبل از ظهر
Hello it's me, I am also visiting this web site daily, this website is
really nice and the visitors are actually sharing good thoughts.
چهارشنبه 28 تیر 1396 09:57 بعد از ظهر
I think what you composed was very logical.
But, what about this? suppose you were to write a awesome post
title? I ain't saying your information isn't solid., however suppose you added a post
title that grabbed people's attention? I mean پروژه
های رایگان برنامه نویسی و آموزش زبان C++
و C# - تعداد رقم های یک عدد is kinda boring.
You should glance at Yahoo's front page and see how they write article headlines to grab people to open the links.
You might add a related video or a related pic or two to grab readers excited about what you've got to say.
In my opinion, it would make your posts a little livelier.
چهارشنبه 28 تیر 1396 07:40 بعد از ظهر
Hello, after reading this remarkable piece of writing i am also cheerful
to share my knowledge here with mates.
دوشنبه 26 تیر 1396 08:55 قبل از ظهر
Thanks for finally writing about >پروژه های رایگان
برنامه نویسی و آموزش زبان C++ و C# - تعداد رقم های یک عدد <Loved it!
شنبه 24 تیر 1396 10:59 بعد از ظهر
Simply wish to say your article is as surprising. The clarity to your publish is just cool and i can think you're knowledgeable on this subject.
Well along with your permission let me to snatch your RSS feed to stay up to date with coming near near post.
Thank you a million and please keep up the enjoyable work.
جمعه 23 تیر 1396 04:08 بعد از ظهر
Hello, Neat post. There is a problem along with your web site in internet explorer, might test
this? IE still is the market chief and a huge component of folks will pass over your fantastic writing because of
this problem.
جمعه 16 تیر 1396 06:45 بعد از ظهر
I have been exploring for a bit for any high-quality articles or blog posts in this sort of area .
Exploring in Yahoo I finally stumbled upon this web site.
Reading this information So i'm happy to show that I have a very
good uncanny feeling I came upon just what
I needed. I so much definitely will make certain to don?t
forget this site and give it a look on a relentless basis.
دوشنبه 25 اردیبهشت 1396 10:14 قبل از ظهر
Hello, I enjoy reading through your article. I like to
write a little comment to support you.
دوشنبه 4 اردیبهشت 1396 11:41 قبل از ظهر
Hello would you mind letting me know which web host you're working with?
I've loaded your blog in 3 different browsers and I must say this blog loads a lot quicker then most.
Can you recommend a good web hosting provider at a fair price?

Kudos, I appreciate it!
چهارشنبه 30 فروردین 1396 12:30 قبل از ظهر
Wow that was strange. I just wrote an really long comment but after I
clicked submit my comment didn't appear. Grrrr...
well I'm not writing all that over again. Regardless, just wanted to say superb blog!
پنجشنبه 27 فروردین 1388 01:01 قبل از ظهر
سلام دوست عزیز
وبلاگ پر محتوای خوبی داری بهتون تبریک میگم
اگر مایل به تبادل لینک هستی منو لینک کن و تو قسمت نظرات وبلاگم خبر بده تا منم تو رو لیینک کنم
من رو به شکل واسم زیر لینک کن:

۞۞▒░دانلود نرم افزار و آهنگ▒░۞۞
موفق باشی بای
 
لبخندناراحتچشمک
نیشخندبغلسوال
قلبخجالتزبان
ماچتعجبعصبانی
عینکشیطانگریه
خندهقهقههخداحافظ
سبزقهرهورا
دستگلتفکر


درباره وبلاگ

انجام پروژه های برنامه نویسی سی و سی پلاس پلاس و سی شارپ

انجام پروژه های الکترونیکی و رباتیکی

مدیر وبلاگ : سجاد سلطانی
مطالب اخیر
نویسندگان
جستجو

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














free counters
X بستن تبلیغات
X بستن تبلیغات