You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
matt da61269344 Added in fun edge case where one of the multiple is '1' 2 月之前
.gitignore Initial commit 2 月之前
BracketService.cs Initial commit 2 月之前
JobNimbus_application.csproj Initial commit 2 月之前
README.md Initial commit 2 月之前
SumService.cs Initial commit 2 月之前
Tests.cs Added in fun edge case where one of the multiple is '1' 2 月之前

README.md

JobNimbus_application

To see the results simply run dotnet test

The logic for the bracket counting is in BracketService.cs

The logic for the multiple sum is in SumService.cs

I tested all of the cases specified in Tests.cs

For the sum of all the multiples of 3 or 5 below 1000 I got 233168, assuming you did NOT want to double count values that are divisible by both 3 and 5 (like 15 for example)