using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HelloWorld
{
internal class Program
{
static void Main(string[] args)
{
//정수형 변수 hp를 정의
int hp;
//문자열 형식 변수 name 정의하고 값 "hong' 할당
string name = "hong";
//Hello World를 3번 출력(for문 사용)
for (int i = 0; i <= 2; i++)
{
Console.WriteLine("Hello World");
}
//아래 구문에서 에러를 제거
App app = new App();
}
}
}
'게임 알고리즘' 카테고리의 다른 글
고블린이 홍길동에게 피해(1)을 받았습니다. (1) | 2024.08.12 |
---|---|
수정2)1일 차 미니 테스트: 정적 배열 만들기 (7) | 2024.08.12 |
1일 미니 테스트: 배열_수정 완료 (0) | 2024.08.12 |
1일 차 미니 테스트 App (0) | 2024.08.12 |
Hello World! (0) | 2024.08.12 |