typo i krokodillespillet
This commit is contained in:
parent
9c8b53e8f5
commit
09947e3059
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
12
Emne 3/Terminal-ui/Terminal-ui/#Program.cs#
Normal file
12
Emne 3/Terminal-ui/Terminal-ui/#Program.cs#
Normal file
|
@ -0,0 +1,12 @@
|
|||
using System;
|
||||
using Terminal.Gui;
|
||||
|
||||
|
||||
Application.Run<ExampleWindow> ().Dispose ();
|
||||
|
||||
Application.shutdown ();
|
||||
|
||||
namespace Hello{
|
||||
class
|
||||
}
|
||||
|
|
@ -6,3 +6,7 @@ Application.Run<ExampleWindow> ().Dispose ();
|
|||
|
||||
Application.shutdown ();
|
||||
|
||||
namespace Hello{
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -10,5 +10,6 @@ mkShell {
|
|||
sdk_8_0
|
||||
sdk_9_0
|
||||
])
|
||||
csharp-ls
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue