private static void Main(string[] args)
Console.WriteLine("INPUT: ");
string inputn = Console.ReadLine();
int[] xny = { 0, 0, 0, 0 };
for(int i = 0; i < inputn.Length; i++)
else if (inputn[i] == '>')
else if (inputn[i] == '<')
Console.WriteLine("invalid");
Console.WriteLine((xny[0] - xny[2])+ ","+ (xny[3] - xny[1]));
using System.Collections.Generic;
static void Main(string[] args)
List<string> hastag = new List<string>();
List<string> answer = new List<string>();
Console.Write("Input Kata: ");
string inputk = Console.ReadLine();
Console.WriteLine("Guess the word!");
Console.WriteLine("NYAWA: + + +");
for (int i = 1; i <= inputk.Length; i++)
foreach (string j in hastag)
Console.WriteLine("Guess: ");
string guess = Console.ReadLine();
foreach (string a in answer)
Console.WriteLine(guess.ToUpper() + " SUDAH DITEMUKAN");
for (int i = 0; i < inputk.Length; i++)
if (guess == Convert.ToString(inputk[i]))
hastag.RemoveRange(i, 1);
Console.WriteLine(guess.ToUpper() + " " + "TIDAK DITEMUKAN!!");
Console.WriteLine("Nyawa: + + -");
Console.WriteLine(guess.ToUpper() + " " + "TIDAK DITEMUKAN!!");
Console.WriteLine("Nyawa: + - -");
Console.WriteLine(guess.ToUpper() + " " + "TIDAK DITEMUKAN!!");
Console.WriteLine("Nyawa: - - -");
Console.WriteLine("GAMEOVER");
Console.WriteLine(guess.ToUpper() + " " + "DITEMUKAN!!");
if (count == inputk.Length)
Console.WriteLine("The Word Is " + inputk.ToUpper());