Skip to content
Snippets Groups Projects
Commit 711f6dda authored by niklasBr's avatar niklasBr
Browse files

added assert, input has to be 0 or greater

parent 110a841b
No related branches found
No related tags found
No related merge requests found
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Mime;
using System.Runtime.CompilerServices;
using System.Runtime.Remoting.Messaging;
......@@ -29,6 +30,8 @@ namespace ConsoleApplication1
Console.WriteLine("Please provide two positive integers as program arguments");
Environment.Exit(1);
}
Debug.Assert(nrProd > -1 && nrCons > -1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment