#include<stdio.h>void main(){ int a,b,c,s,i; for(i=100;i<=1000;i=i+5) { a=i%10; b=i/10%10; c=i/100; s=a+b+c; if ((s==9)&&(i%5==0)) { printf("%d ",i); } } }
谢谢
望采纳。。。。。。