for 循环时间:2023-03-09 00:11:54 #include <iostream> int main(){ int sum = ; for (int val = ; val <= ; ++val) { sum += val; } std::cout << "0自加到10的值-> " << sum << std::endl; return ; }