| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 팀프로젝트
- Amazon S3
- 유니티 GUI
- 개발일지
- 유니티 UI
- meta
- meta xr
- 드래곤 플라이트
- VR
- 멀티플레이
- CGV
- 드래곤 플라이트 모작
- 모작
- 오큘러스
- OVR
- 오브젝트 풀링
- AWS
- 포트폴리오
- 유니티 Json 데이터 연동
- Unity
- 연습
- 개발
- 아마존
- 가상현실
- 유니티
- Photon Fusion
- 팀 프로젝트
- Oculus
- 길건너 친구들
- ChatGPT
Archives
- Today
- Total
EasyCastleUNITY
2023/07/20 퀴즈 9번 본문
using System;
namespace LearnDotnet
{
internal class Program
{
static void Main(string[] args)
{
Console.Write("영웅의 공격력:");
string attackChar = Console.ReadLine();
int attack = Convert.ToInt32(attackChar);
Console.Write("몇회 공격 하시겠습니까?:");
string countChar = Console.ReadLine();
int count = Convert.ToInt32(countChar);
for (int i = 0; i < count; i++)
{
Console.WriteLine("몬스터를 공격({0}) 했습니다.", attack);
}
}
}
}

'C#프로그래밍' 카테고리의 다른 글
| 2023/07/20 퀴즈 11번 (0) | 2023.07.20 |
|---|---|
| 2023/07/20 퀴즈 10번 (0) | 2023.07.20 |
| 2023/07/20 퀴즈 8번 (0) | 2023.07.20 |
| 2023/07/20 퀴즈 7번 (0) | 2023.07.20 |
| 2023/07/20 퀴즈 6번 (0) | 2023.07.20 |