본문 바로가기
C#프로그래밍

디아블로 아이템 - Club

by 노재두내 2023. 7. 19.

 

using System;
using System.ComponentModel;

namespace HelloWorld
{
    internal class Program
    {
        static void Main(string[] args)
        {
            string weaponName = "Club";
            string weaponType = "Mace";
            float dps = 5.4f;
            float minDamage = 3;
            float maxDamage = 6;
            float attackSpeed = 1.20f;
            Console.WriteLine(weaponName);
            Console.WriteLine(weaponType);
            Console.Write("\n");
            Console.WriteLine("{0:F1}", dps);
            Console.WriteLine("Damage Per Second");
            Console.Write("\n");
            Console.WriteLine("{0}-{1} Damage", minDamage, maxDamage);
            Console.WriteLine("{0:F2} Attack per Second", attackSpeed);

        }
    }
}

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

스타크래프트  (0) 2023.07.19
디아블로 아이템 - Mace of the Crows  (0) 2023.07.19
디아블로 아이템 - Shiv  (0) 2023.07.19
디아블로 아이템 - Simple Dagger  (0) 2023.07.19
디아블로 아이템 - Double Axe  (0) 2023.07.19