#include <iostream>
using namespace std;
int main() {
int counter = 0;
for (int i = 10; i <= 100; i++)
if (i % 6 == 0)
counter++;
cout << counter;
return 0;
}
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
#include <iostream>
using namespace std;
int main() {
int counter = 0;
for (int i = 10; i <= 100; i++)
if (i % 6 == 0)
counter++;
cout << counter;
return 0;
}