C语言 08:幻数求和 无标题.jpg #include<stdio.h>intmain(){intN;intsum;//保存幻数和intshuzi;inti;scanf("%d",&N);for(i=1;i<=N;i++){if(i%7==0){sum+=i;printf("%d ",i);}else{shuzi=i;while(shuzi>10){if(shuzi%10==7){sum+=shuzi;printf("%d ",shuzi);break;}shuzi=sh...