#include <stdio.h> int main () { int a = 0; int b = 0; for(int i = 0;i <= 100;i++){ if(i % 9 == 0){ a++; b+=i; } } printf("总和为:%d",b); return 0; }