728x90
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.WriteLine(dps);
Console.WriteLine("Damage Per Second");
Console.WriteLine("{0}-{1} Damage", minDamage, maxDamage);
Console.WriteLine("{0:0.00} Attacks per Second", attackSpeed);
}
}
}
'KDT > C# 프로그래밍' 카테고리의 다른 글
스타크래프트 (마린 vs 저그) (0) | 2023.07.20 |
---|---|
디아블로 아이템4 (0) | 2023.07.19 |
디아블로 아이템3 (0) | 2023.07.19 |
디아블로 아이템1 (0) | 2023.07.19 |
HelloWorld (0) | 2023.07.19 |