Battery Low Solution
Codechef February Lunchtime 2022
Problem Code : BATTERYLOW
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 <= 15)
{
cout << "Yes\n";
}
else
{
cout << "No\n";
}
}
int main()
{
ll t;
cin >> t;
while (t--)
{
solve();
}
}
Comments
Post a Comment