Ответ:
#include <iostream>
using namespace std;
int main() {
int sum = 0;
for (int i = 100; i <= 200; ++i) {
if (i % 9 == 0) {
sum += i;
}
cout << sum << endl;
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
#include <iostream>
using namespace std;
int main() {
int sum = 0;
for (int i = 100; i <= 200; ++i) {
if (i % 9 == 0) {
sum += i;
}
}
cout << sum << endl;
}