Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 03 / Tasks and Solutions / 06. DivBy3.cpp
blob: 044aee992a26d251af822cc99e14b93af4d6bbf2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#include <iostream>
using namespace std;

int main()
{
	int n;
	cin >> n;

	for (int i = 3; i <= n; i+=3)
		cout << i << endl;
}