using System;
namespace HelloWorld
{
internal class Program
{
static void Main(string[] args)
{
int maxmarineHitpoints = 40;
int marineAttack = 6;
int maxzerglingHitpoints = 35;
int zerglingAttack = 5;
int zerglingHitpoints = maxzerglingHitpoints - marineAttack; //29
int marineHitpoints = maxmarineHitpoints - zerglingAttack; //35
float zerglingper = ((float)zerglingHitpoints / maxzerglingHitpoints) * 100;
float marineper = ((float)marineHitpoints / maxmarineHitpoints) * 100;
Console.WriteLine("Marine");
Console.WriteLine("Marine Hitpoints: {0}", maxmarineHitpoints);
Console.WriteLine("Marine Attack: {0}\n", marineAttack);
Console.WriteLine("Zergling");
Console.WriteLine("Zergling Hitpoints: {0}", maxzerglingHitpoints);
Console.WriteLine("Zergling Attack: {0}\n", zerglingAttack);
Console.WriteLine("마린이 저글링을 공격 ({0}) 했습니다.", marineAttack);
Console.WriteLine("저글링이 마린에게 피해 (-{0})을 받았습니다. ({1}/{2}){3:0.00}%", marineAttack, zerglingHitpoints, maxzerglingHitpoints, zerglingper);
Console.WriteLine("저글링이 마린을 공격 ({0}) 했습니다.", zerglingAttack);
Console.WriteLine("마린이 저글링에게 피해 (-{0})을 받았습니다. ({1}/{2}){3:0.00}%", zerglingAttack, marineHitpoints, maxmarineHitpoints, marineper);
}
}
}