using System;
public class Program
{
public static void Main()
Console.WriteLine("Enter your number: ");
int decimalNum = int.Parse(Console.ReadLine());
int stopper = 0;
string[] hexa = new string[3];
while(stopper < 3)
for(int i = stopper; i < 3;i++)
switch(decimalNum%16)
case 1:
hexa[stopper] = "1";
break;
case 2:
hexa[stopper] = "2";
case 3:
hexa[stopper] = "3";
case 4:
hexa[stopper] = "4";
case 5:
hexa[stopper] = "5";
case 6:
hexa[stopper] = "6";
case 7:
hexa[stopper] = "7";
case 8:
hexa[0] = "8";
case 9:
hexa[0] = "9";
case 10:
hexa[0] = "A";
case 11:
hexa[0] = "B";
case 12:
hexa[0] = "C";
case 13:
hexa[0] = "D";
case 14:
hexa[0] = "E";
case 15:
hexa[0] = "F";
default:
Console.WriteLine("Some kind of errow :/ ");
}
decimalNum /= 16;
stopper++;