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# Thanks!
int input = Int32.parseInt(Console.ReadLine()); for(int i = 0; i<=input; i++){ //for loop Console.WriteLine(i); }