반응형
SMALL
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace diablo_game_item
{
class Program
{
static void Main(string[] args)
{
string AmuletName = "Hellfire Amulet";
string AmuletLevel = "Legendary Amulet";
string mainFunction = "Primary";
int minAmuletint = 626;
int maxAmuletint = 750;
string secondFunction = "Secondary";
int secondFunction1 = 1;
string maxsecondFunction2 = "*Random class passive.";
int minsecondFunction3 = 3;
int aquieredLevel = 12;
Console.ForegroundColor = ConsoleColor.DarkYellow;
Console.WriteLine(AmuletName);
Console.WriteLine(AmuletLevel);
Console.WriteLine();
Console.ResetColor();
Console.WriteLine(mainFunction);
Console.ForegroundColor = ConsoleColor.DarkBlue;
Console.WriteLine("* [+{0} - {1}] Intelligence", minAmuletint, maxAmuletint);
Console.WriteLine();
Console.ResetColor();
Console.WriteLine(secondFunction);
Console.ForegroundColor = ConsoleColor.DarkBlue;
Console.WriteLine("*Sokets ({0})",secondFunction1);
Console.ResetColor();
Console.ForegroundColor = ConsoleColor.DarkYellow;
Console.WriteLine(maxsecondFunction2);
Console.ResetColor();
Console.WriteLine();
Console.ForegroundColor = ConsoleColor.DarkBlue;
Console.WriteLine();
Console.WriteLine("*+{0} Random Magic Properties", minsecondFunction3);
Console.WriteLine();
Console.ForegroundColor = ConsoleColor.Gray;
Console.WriteLine("Account Bound");
Console.WriteLine();
Console.WriteLine("Crafted By: Jeweler (Level {0})", aquieredLevel);
Console.ResetColor();
}
}
}
결과물
반응형
LIST
'C# > 수업 과제' 카테고리의 다른 글
C# 2023.1.1 아이템 기능 상세 출력 과제 (사이퍼즈 1) (0) | 2023.01.01 |
---|---|
2022.11.1 C# 수업과제 (디아블로 아이템 5) (0) | 2023.01.01 |
2022.1.1 C# 수업과제 (디아블로 아이템 3) (1) | 2023.01.01 |
2022.12.30 C# 수업과제 (디아블로 아이템 2) (0) | 2023.01.01 |
2022.12.30 C# 수업과제 (디아블로 아이템 1) (2) | 2022.12.30 |