摘要:
#include <stdio.h> int main (){ int i, x,y, last=1; /★变量last保存求得的×的y次方的部分积的后三位*/ printf("Input x and y:An") ; scanf("%d Sd",&x, &y); for(i-1;i<=y;i++) 阅读全文
摘要:
#include stdio.h>int main () { int i,t, k,a [3]-{0}; printf ("There are following Armstrong number smaller than 1000;\n");/*求出小于1000的阿姆斯特朗数*/ for(i-2; 阅读全文