public static void Main()
Console.WriteLine("Skriv venligst tælleren: ");
string tællerInput = Console.ReadLine();
Console.WriteLine("Skriv nu nævneren: ");
string nævnerInput = Console.ReadLine();
double tæller = Convert.ToDouble(tællerInput);
double nævner = Convert.ToDouble(nævnerInput);
double procent = (tæller/nævner)*100;
Console.WriteLine("Resultat: "+procent+ "%");
Console.WriteLine("Indtast venligst et gyldigt tal! ");