Hand Axe
2023. 7. 19.
using System;
using System.ComponentModel;
using System.Xml.Linq;

namespace HelloWorld
{
    internal class Program
    {
        static void Main(string[] args)
        {
            string weaponName = "Hand Axe";
            string weaponType = "Axe";
            float dps = 3.2f;
            int minDamage = 2;
            int maxDamage = 3;
            float attackSpeed = 1.3f;

            Console.WriteLine(weaponName);
            Console.WriteLine(weaponType);
            Console.WriteLine(dps+" Damage Per Second");
            //Console.WriteLine(minDamage + "-" + maxDamage+" Damage");
            Console.WriteLine("{0}-{1} Damage", minDamage, maxDamage);
           // Console.WriteLine(attackSpeed+" Attacks per Second");
            Console.WriteLine("{0} Attacks per Second", attackSpeed);

        }
    }
}

'C# 기초' 카테고리의 다른 글

캐스팅  (0) 2023.07.19
디아블로 아이템 사전  (0) 2023.07.19
문자열 보간  (0) 2023.07.19
결합연산자  (0) 2023.07.19
0719-1  (0) 2023.07.19
myoskin