Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在输入用户号码之前如何显示数字?例如输入为9,则显示0,1,2,3,4,5,6,7,8,9 MSVisual studio, c# 谢谢!
int input = Int32.parseInt(Console.ReadLine()); for(int i = 0; i<=input; i++){ //for loop Console.WriteLine(i); }