C#프로그래밍

디아블로 아이템 - Double Axe

노재두내 2023. 7. 19. 16:18

using System;
using System.ComponentModel;

namespace HelloWorld
{
    internal class Program
    {
        static void Main(string[] args)
        {
            string weaponName = "Double Axe";
            string weaponType = "Magic Axe";
            float dps = 10.4f;
            float minDamage = 6;
            float maxDamage = 10;
            float attackSpeed = 1.30f;
            int magicProperties = 2;
            int level = 1;
            Console.WriteLine(weaponName);
            Console.WriteLine(weaponType);
            Console.Write("\n");
            Console.WriteLine(dps);
            Console.WriteLine("Damage Per Second");
            Console.Write("\n");
            Console.WriteLine("{0}-{1} Damage", minDamage, maxDamage);
            Console.WriteLine("{0:F2} Attack per Second", attackSpeed);

            Console.WriteLine("+"+magicProperties+ " Random Magic Properties");
            Console.WriteLine("Crafted By: Blacksmith (Level" +level+")") ;

        }
    }
}

댓글수0