아카이브
Morning Star 본문
using System;
namespace HelloWorld
{
internal class Program
{
static void Main(string[] args)
{
string weaponName = "Morning Star";
string weaponType = "Mace";
float damage = 15.0f;
int minDamage = 9;
int maxDamage = 16;
float attackSpeed = 1.20f;
Console.WriteLine(weaponName);
Console.WriteLine(weaponType);
Console.WriteLine();
Console.WriteLine("{0:0.0}", damage);
Console.WriteLine("Damage Per Second \n\n{0}-{1} Damage", minDamage, maxDamage);
Console.WriteLine("{0:0.00} Attacks per Second", attackSpeed);
}
}
}
'C#프로그래밍' 카테고리의 다른 글
스타크래프트 enum (0) | 2023.07.20 |
---|---|
스타크래프트 (0) | 2023.07.19 |
Dagger (0) | 2023.07.19 |
Hand Axe (0) | 2023.07.19 |
Helloworld (0) | 2023.07.19 |