C#프로그래밍

while

다모아 2023. 7. 21. 10:07
using System;

namespace LearnDotnet
{
    internal class Program
    {
        static void Main(string[] args)
        {
            int n = 0;
            while (n < 5)
            {
                Console.Write(n);
                n++;
            }
        }
    }
}

'C#프로그래밍' 카테고리의 다른 글

static  (0) 2023.07.21
break  (0) 2023.07.21
if, switch  (0) 2023.07.21
반복문 문제  (0) 2023.07.20
논리 연산자  (0) 2023.07.20