haha73 @ 2023-11-16 22:42:02
using namespace std; int main(){ int a[100]; int n; int t; for(int i=0;i<10;i++){ cin>>a[i]; //cout<<a[i]<<" "; } cin>>n; //cout<<n; if((n+30)>=a[i]){ t++; } cout<<t; return 0; }
by haha73 @ 2023-11-16 22:43:09
想问一下大家,这个代码哪儿有问题呀
by fantiantian @ 2023-11-21 09:28:40
if语句中i没有定义