|
发表于 2022-5-3 16:30:44
|
显示全部楼层
#include<iostream>
using namespace std;
int main()
{
int n;
cin >> n;
int arr[4] = {1,4,5,6};
int i;
for( i = 0; i < 4; i++)
{
if(n == arr[i])
{
cout << "Yes" << endl;
break;
}
}
if(i==4)
cout << "No" << endl;
return 0;
} |
|