📅  最后修改于: 2022-03-11 14:47:13.646000             🧑  作者: Mango
#include
int main()
{
int x[]={1,2,3,4,5,6,7,8,9,10};
for(int i=0;i<10;i++)
{
if(x[i]==7)
{
printf("number%d loop=%d",x[i],i+1);
}
}
}