if+else if+else题解LS_YZY2025-10-01 15:08:33发布于:浙江9阅读0回复0点赞#include<bits/stdc++.h> using namespace std; int n; int main(){ cin>>n; if(n<6) cout<<7; else if(n>7) cout<<10; else cout<<n+2; return 0; } 有帮助,赞一个去预览0/2000发布这里空空如也
有帮助,赞一个