题解分享
题解分享简介
判断一个数能否同时被3和5整除 - 题解
```
#include <bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin >> n;
if ( n % 3 == 0 && n % 5 == 0 ) {
cout << "YES";
}
else {
cout << "NO";
}
return 0;
}
```
0
0
0
1



