float y=0,x=0int x=convert·toint32(console·readline())while(x!=-1){n++;y+=x;x=console·readline()}if(n==0)return y;elsereturn y/n;哪位大神帮我一句一句翻译一下吧!谢谢啦~