如题所述
{
public static void main ( String[] args )
int sum = 0;
int n = 1;
do
if (n % 7 == 0)
sum += n;
}
n++;
} while (n < 50);
System.out.println (sum);