-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Prickly Master
committed
Mar 18, 2021
1 parent
63363ba
commit 5a55ed2
Showing
5 changed files
with
32 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,19 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace RomanNumerals | ||
{ | ||
class Program | ||
{ | ||
static void Main(string[] args) | ||
{ | ||
// The code provided will print ‘Hello World’ to the console. | ||
// Press Ctrl+F5 (or go to Debug > Start Without Debugging) to run your app. | ||
Console.WriteLine("Hello World!"); | ||
Console.ReadKey(); | ||
|
||
// Go to http://aka.ms/dotnet-get-started-console to continue learning how to build a console app! | ||
int result = 0; | ||
bool success = Int32.TryParse(Console.ReadLine(), out result); | ||
while (!success) { | ||
success = Int32.TryParse(Console.ReadLine(), out result); | ||
} | ||
string romanNumeral = new RomanNumeralsConverter().Convert(result); | ||
Console.WriteLine(romanNumeral); | ||
Console.ReadLine(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="MSTest.TestAdapter" version="2.0.0" targetFramework="net471" /> | ||
<package id="MSTest.TestFramework" version="2.0.0" targetFramework="net471" /> | ||
<package id="MSTest.TestAdapter" version="2.1.2" targetFramework="net471" /> | ||
<package id="MSTest.TestFramework" version="2.1.2" targetFramework="net471" /> | ||
<package id="NFluent" version="2.7.0" targetFramework="net471" /> | ||
<package id="NUnit" version="3.12.0" targetFramework="net471" /> | ||
<package id="NUnit3TestAdapter" version="3.15.1" targetFramework="net471" /> | ||
<package id="NUnit3TestAdapter" version="3.17.0" targetFramework="net471" /> | ||
</packages> |