Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 01 / Solutions / task4.cpp
blob: 9ed7cbb92e7bcee853568ff9d45e7c4a13eefc15 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include <iostream>
using namespace std;

int main()
{
	int grade;
	cin >> grade;
		
	bool isValidGrade = grade >= 2 && grade <= 6;

	cout << isValidGrade << endl;
}