C#/수업 과제
과제 1
오만의 대죄주교
2021. 8. 16. 17:44
반응형
using System;
namespace HelloWorld
{
public class Program
{
public static void Main()
{
String name;
name = "Hand Axe";
String type;
type = "Axe";
float dps;
dps = 3.2f;
string damage;
damage = "2-3";
float aps;
aps = 1.30f;
Console.WriteLine("{0}", name);
Console.WriteLine("{0}", type);
Console.WriteLine("{0} {1}", dps, "Damage Per Second");
Console.WriteLine("{0} {1}", damage , "Damage");
Console.WriteLine("{0:f2} {1}", aps, "Attacks per Second");
}
}
}
반응형