public static void Main()
Console.WriteLine("skriv procentsatsen");
string tællerInput = Console.ReadLine();
Console.WriteLine("skriv antal kroner");
string nævnerInput = Console.ReadLine();
double procentsats = Convert.ToDouble(tællerInput);
double heltal = Convert.ToDouble(nævnerInput);
double delmængden = (procentsats/100)*heltal;
Console.WriteLine("resultat:" + procentsats + "% af " + heltal + " er " + delmængden + " Kroner");
Console.WriteLine("indtask venligst et gyldigt tal");