typo i krokodillespillet

This commit is contained in:
Geir Okkenhaug Jerstad 2024-11-19 10:05:14 +01:00
parent 9c8b53e8f5
commit 09947e3059
4 changed files with 21 additions and 4 deletions

View file

@ -20,13 +20,13 @@ namespace KrokodilleSpillet
var rand1 = new Random();
var rand2 = new Random();
int randomNumber = rand1.Next(0,11);
int randomNumer2 = rand2.Next(0,11);
int randomNumber2 = rand2.Next(0,11);
Console.WriteLine("Skriv inn riktig > < eller =. Alle andre tegn avslutter programmet");
Console.WriteLine($"Du har {poeng} poeng");
Console.WriteLine($"Hva er riktig tegn i utrykket {randomNumber} _ {randomNumer2}");
Console.WriteLine($"Hva er riktig tegn i utrykket {randomNumber} _ {randomNumber2}");
string answer = Console.ReadLine();
GetRightAnswer(randomNumber, randomNumer2);
GetRightAnswer(randomNumber, randomNumber2);
CheckAnswer(answer);
}
}

View file

@ -0,0 +1,12 @@
using System;
using Terminal.Gui;
Application.Run<ExampleWindow> ().Dispose ();
Application.shutdown ();
namespace Hello{
class
}

View file

@ -6,3 +6,7 @@ Application.Run<ExampleWindow> ().Dispose ();
Application.shutdown ();
namespace Hello{
}

View file

@ -10,5 +10,6 @@ mkShell {
sdk_8_0
sdk_9_0
])
csharp-ls
];
}