-
Category : File Format
Tags :
- Update : 2015-04-28
- Size : 3kb
- Downloaded :0次
- Author :张****
- About :
Nobody
- PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
Topic: no more than five to one positive integer requirements: First, find it is several orders, two, reverse print out the digits.
1. Program analysis: the decomposition of each digit Society
2. Source Code:
Code is as follows:
#include stdio.h
#include conio.h
main ()
{
long a, b, c, d, e, x
scanf ( ld , & x)
a = x/10000 break out ten thousand* /
b = x 10000/1000 break out one thousand* /
c = x 1000/100 break out one hundred* /
d = x 100/10 break out ten* /
e = x 10 break out bits* /
if (! a = 0) printf ( there are 5, ld ld ld ld ld \ n , e, d, c, b, a)
else if (! b = 0) printf ( there are 4, ld ld ld ld \ n , e, d, c, b)
else if (! c = 0) printf ( there are 3, ld ld ld \ n , e, d, c)
else if (! d = 0) printf ( there are 2, ld ld \ n , e, d)
Packet file list
(Preview for download)
BNUTBDJNBOOFR.doc
Related instructions
- We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
- The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
- Please use Winrar for decompression tools
- If download fail, Try it againg or Feedback to us.
- If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
- Before downloading, you can inquire through the uploaded person information