标签:io re c amp b r return print
#include<stdio.h> long fun(long num) { long k=1; do { k*=num%10; num/=10; } while(num>0); return k; } main() { long n; printf("please enter a number:"); scanf("%ld",&n); printf("\n%ld\n",fun(n)); }
标签:io re c amp b r return print
原文地址:http://blog.csdn.net/u013116579/article/details/38129035