摘要:
#include <stdio.h> #include <math.h> #include <stdlib.h> #include <time.h> #define PI 3.1415 /*C语言time(NULL)是以当前时间为种子,产生随意数。 其中,time(NULL)用来获取当前时间,本质上 阅读全文
摘要:
#include <stdio.h> main() { int i,a,b,c,d,e; printf("请输入四位整数:\n"); scanf("%d",&i); e=i; a=i%10;b=(i-a)/10%10;c=(i-a-b*10)/100%10;d=i/1000; printf("%d, 阅读全文