缘由编写c语言希望进行一些解释_编程语言-CSDN问答
void 求最小与均值输入0结束()
{//缘由https://ask.csdn.net/questions/1102407int x = 1, m = INT_MAX, n = 0, c = 0;while (x)cin >> x, (x&&m > x ? m = x : 0), n += x, (x ? ++c : 0);cout << "最小" << m << "和" << n << "次" << c << "均值" << n / c;
}