Add more test cases (#11)

This commit is contained in:
Patrick Stevens
2025-05-20 22:09:02 +01:00
committed by GitHub
parent bc389f1f23
commit 109b3a70fc
7 changed files with 223 additions and 30 deletions

View File

@@ -0,0 +1,17 @@
using System;
namespace TriangleNumber
{
class Program
{
static int Main(string[] args)
{
var answer = 0;
for (int i = 0; i < 5; i++)
{
answer += i;
}
return answer;
}
}
}