
1条回答 默认 最新
阿肥哥哥_12138 2021-09-04 10:23关注#include<iostream> using namespace std; int main() { int a,b; cin>>a>>b; if(a%b==0) cout<<"yes"<<endl; else cout<<"no"<<endl; return 0; }本回答被题主选为最佳回答 , 对您是否有帮助呢?评论 打赏 举报解决 1无用
#include<iostream>
using namespace std;
int main()
{
int a,b;
cin>>a>>b;
if(a%b==0) cout<<"yes"<<endl;
else cout<<"no"<<endl;
return 0;
}