Janmansh and Assignments Solution || Codechef March Cook-Off 2022

        

Janmansh and Assignments Solution 

Codechef March Cook-Off 2022
Problem Code : JASSIGNMENTS

Solution :

#include <bits/stdc++.h>
#define ll long long int
#define ull unsigned long long int
using namespace std;

void solve()
{
    ll x;
    cin >> x;
    if (x <= 7)
    {
        cout << "Yes\n";
    }
    else
    {
        cout << "No\n";
    }
}

int main()
{
    ll t;
    cin >> t;
    while (t--)
    {
        solve();
    }
}

Comments